
Hi,
Write this formula in cell C2 of wb2
=if(countif(reference of data in column A of wb1,A2)>0,"Active","Inactive")
Hope this helps.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi. I have a table in one excel sheet with location codes and if they are active or inactive. I need to build a lookup in daily invoice coding excel sheet to see if the location code is active or inactive before I upload the billing allocation. Is there a formula that can look up a code in sheet 1, wb 1, and return the value listed ("Active or "Inactive) on the table in sheet 1, wb2? If so, how can I do this? Do I need to build a lookup first and then an if, than statement or can it be one formula? |
---|
Sorry, unable to provide screen shots but looks like this.
WB1 - INVOICE COST ALLOCATION
LOC # | SUM OF TOTAL |
---|---|
H0001 | $420.81 |
WB2 - TABLE
LOC # | PARENT ID | STATUS |
---|---|---|
H0001 | E001 | ACTIVE |
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Hi,
Write this formula in cell C2 of wb2
=if(countif(reference of data in column A of wb1,A2)>0,"Active","Inactive")
Hope this helps.