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

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
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,613
Messages
6,125,834
Members
449,266
Latest member
davinroach

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