Nested IF statement and VLOOKUP

matty_lou82

New Member
Joined
Sep 14, 2018
Messages
38
Hi - I need a nested If and VLOOKUP statement, so that if a reference cell contains text, the formula cell returns what text is in the reference cell in the first instance. However if there is no text in the original reference cell, a VLOOKUP is instead applied to an adjacent different reference cell, which contains a lookup value which returns the text derived from a separate table array.

So in the instance of the attached image, In cell E3, because cell C3 contains text, the text written in cell C3 is to be returned in cell E3.

However in cell E4, because in the first instance there is no text to return in cell C4, apply a VLOOKUP to the lookup value in cell B4 using the table array given, subsequently returning "CV/App Form Not Suitable" in cell E4.

I would really appreciate any help, TIA.
 

Attachments

  • Capture.JPG
    Capture.JPG
    75.7 KB · Views: 16

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Hi,

Try this:

Book3.xlsx
ABCDE
1
2
312345AA
412345C
512347BB
6
7
8
9
1012345C
1199999D
1212347E
1322222F
1433333G
Sheet1044
Cell Formulas
RangeFormula
E3:E5E3=IF(C3="",VLOOKUP(B3,B$10:C$14,2,0),C3)
 
Upvote 0
Solution
You're welcome, thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,823
Messages
6,121,779
Members
449,049
Latest member
greyangel23

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