Return Value to a Cell Based on Value Matching 1 of 2 Lists

sarahmoa

New Member
Joined
Jun 5, 2016
Messages
16
My brain is spinning at the moment with my issue. I have a spreadsheet where column V uses Data Validation to pull from a list found in a separate tab for Data. The items in the dropdown are categorized in two groups - Group 1 is on the Data tab in A2:A19 while Group 2 is A21:A47. Based on which value is selected in column V, I need it to return Group 1 or Group 2 to column U). I can get halfway there with =IF(COUNTIF(Data!A2:A19,V3),"1","") but I don't know how to make it also return "2" for the second group list if something is chosen from that list instead.

Any help is greatly appreciated!
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
In that case I don't see how you would get a circular reference with the formula from post#2
 
Upvote 0

Forum statistics

Threads
1,215,066
Messages
6,122,948
Members
449,095
Latest member
nmaske

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top