Lookup Question

RussChilds

Active Member
Joined
Jun 8, 2007
Messages
267
Hi All,

I hope I can explain this clearly.

Column A is Student Name. Column B is group (either group 1, 2, 3 or 4). Column C is test mark out of 100.

I have a lookup for each group. But each group has different parameters. For example Group 1: 0 to 40 = Below Target. 41 to 65 = On Target. 66 to 100 = Above Target

So in Column D I want to say "Student is in Group 3 so to use lookup table for group 3".

Does that make sense?

Many thanks,
Russell
 

Some videos you may like

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Special-K99

Well-known Member
Joined
Nov 7, 2006
Messages
8,341
So where are your group parameters stored? What's the layout for that data?
You haven't said.

Post a sample spreadsheet with expected results, remove any sensitive data, create a mockup example if necessary.
You cant attach files on this forum. There are tools on this forum for adding small spreadsheet images

https://www.mrexcel.com/forum/about-board/508133-attachments.html

remember to include row numbers (1, 2, 3) and column letters (A, B, C etc)
 

Forum statistics

Threads
1,089,389
Messages
5,407,964
Members
403,174
Latest member
xdresch

This Week's Hot Topics

  • help please
    SORRY NOT ANY GOOD AT EXCEL SO HELP WOULD BE MUCH APPRECIATED this formula is in a sheet called ignore...
  • two formulas needed
    Hello, I'll try my best to explain this: First formula needed in Sheet1 cell A2: If Sheet1 cell B2 = Sheet2 cell B2 then return a 1. If not then...
  • Dynamic Counts
    Good afternoon, we are tidying up some data & the data seems to be growing quicker than we are tidying it up! What we confirm (by reviewing it...
  • Help Excel formula eliminate duplicate values and keep only 2 identical rows.
    as picture below column A has a duplicate value. but the values are not the same as the rule. sometimes 4 rows, sometimes 10 rows or 7 or 9...
  • Macro Compile Error Sub or Function not defined
    Hello, I am trying to run macros from a validation list, all macros have been created and run perfectly on there own but I'm getting a compile...
  • Last row combined with Current Region VBA
    I'm generally happy finding the last row of data through something like Lastrow = Cells(Rows.Count, "D").End(xlUp) but I don't always receive data...
Top