Cross referencing cells

Hurler

New Member
Joined
Jan 16, 2014
Messages
2
Should I use the 'IF' or 'LOOKUP' functions to fill a cell based on the content of another?
If C2 contains 'Cork' I need D2 to read 'Munster'. Indeed I will need D2 to read 'Munster' for a number of different C2 values.
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Welcome to the Board!!

in D2 type in the formula bar =IF(C2="Cork","Munster","NotMunster")
 
Upvote 0
Welcome to the board..

Indeed I will need D2 to read 'Munster' for a number of different C2 values.

Put the 'number of diferent C2 values' in a range, say E2:E10

Then try
=IF(ISNUMBER(MATCH(C2,$E$2:$E$10,0)),"Munster","")
 
Upvote 0
Welcome to the board..



Put the 'number of diferent C2 values' in a range, say E2:E10

Then try
=IF(ISNUMBER(MATCH(C2,$E$2:$E$10,0)),"Munster","")


Thank you Janmo1. That worked and I managed to combine my different requirements into a single formula. Thanks for the help.
 
Upvote 0

Forum statistics

Threads
1,215,042
Messages
6,122,810
Members
449,095
Latest member
m_smith_solihull

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