Building a Formula Using Field Blank or Not Blank

meppwc

Well-known Member
Joined
May 16, 2003
Messages
626
Office Version
  1. 365
Platform
  1. Windows
Can someone please offer assistance?
I need a formula in cell C2 of worksheet "MAIN" that considers the following logic:
Using the value in G2 of "MAIN" worksheet, search column D of the "OBIEE TABLE" worksheet
If the value is found:
- Look at column P of "OBIEE TABLE", if the cell is blank, then, "T&M", if the value in column P is not blank, then, map the value in column T
If the value is not found, then "Not in OBIEE"
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Fluff
I just need a formula that addresses the following scenarios
SCENARIO 1
Search on the value in G2 of "MAIN" against "OBIEE TABLE" (column D)
The value from G2 was found, thus, we then go to the same row where the value was found (in my case that is D8638) "OBIEE TABLE" column P.
Cell P8638 is blank, thus, the value in G2 of "MAIN" ="T&M"
SCENARIO 2
Search on the value in G2 against "OBIEE TABLE" (column D)
The value from G2 was NOT found, thus, the value in G2 of "MAIN" = "NOT IN OBIEE"
SCENARIO 3
Search on the value in G2 against "OBIEE TABLE" (column D)
The value from G2 was found, thus, we then go to the same row where the value was found (in my case that is D8638) "OBIEE TABLE" column P
Cell P8638 is NOT blank, thus, we map the value in T8638 of "OBIEE TABLE" to G2 of "MAIN" (in this scenario G2 of "MAIN" = "8x5x4 GOLD"
 
Upvote 0
That is exactly what the formula I suggested should do. Therefore can you please answer my questions?
 
Upvote 0
I am so sorry. I neglected to increase the ranges in the formula on columns D, P and T from 1000. Once I did that it works perfectly and I am very grateful for your assistance.
 
Upvote 0
Glad it's working & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,201
Members
453,022
Latest member
RobertV1609

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