Building a Formula Using Field Blank or Not Blank

meppwc

Well-known Member
Joined
May 16, 2003
Messages
604
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

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
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,215,217
Messages
6,123,675
Members
449,116
Latest member
HypnoFant

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