Cell = a value based on matching cell values AND another cell not being blank

dbarbella

New Member
Joined
Jun 6, 2017
Messages
32
Hey Gang,
Wasn't sure how to properly word the subject, but let me share the unique scenario.

Matching the Unique ID's, I need to check if sheet2 has a value listed.
If so, then sheet1 just says "Has Value", otherwise it says "No Value"

So in a way, I'm hiding the dollar amounts and replacing it with an explanation

There's a fairly long list, so I need to copy and paste the formula throughout column B of sheet 1. Where it grabs the ID number in column A -> finds the matching ID number in column A of Sheet2 -> checks if column B of sheet2 (only of the same row as the matching ID) is blank -> then but the replacement value into column b


In sheet1
IDHas Value (this is where the formula goes)
1Has Value
2Has Value
3No Value
4No Value
5Has Value

<tbody>
</tbody>


In sheet2
IDRevenue
1$100
2$200
3
4
5$200

<tbody>
</tbody>

Hope that makes sense.
This is part of an actually much larger document with many other columns. I just used a simple 2 column example to help explain (If Pivot table is a common approach, I don't know that it will work in the larger scheme of the spreadsheet).

Thanks much
-Dave
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
You need to use a VLOOKUP from sheet one in conjunction with an IF e.g. =IF(VLOOKUP(A2,sheet2range,2,0)="","No Value","Has Value"))
 
Upvote 0

Forum statistics

Threads
1,215,581
Messages
6,125,656
Members
449,246
Latest member
jbbtz28

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