Adapting Code to Reference other Cell

stc60

New Member
Joined
Dec 3, 2018
Messages
10
Hi, I would appreciate some help adapting the code below. What I want to be able to do is - When the text "Ready" appears in cell K3 on sheet 1. I dont want the data from Sheet1F3 to be displayed. I want this cell to be blank. The text Ready is sent from 3rd party software which I connect excel to. Any help appreciated.



=IF(M9<=Sheet1!$H$3,Sheet1!$F$3,"")
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Thanks Gaz, I am thinking about changing another cells code and including (=IF(Sheet1!$K$3="Ready","",) The first line of code below is how the code is at the moment. The 2nd line of code is how I have adapted it to include the new code. Would this be the correct way to do it.

=IFERROR(IF($G$4>Sheet1!$C$2,"",IF(VLOOKUP(B9,Sheet1!E:I,5,0)="","",VLOOKUP(B9,Sheet1!E:I,5,0))),"")

=IFERROR(IF($G$4>Sheet1!$C$2,"", IF(Sheet1!$L$3="Ready","",IF(VLOOKUP(B9,Sheet1!E:I,5,0)="","",VLOOKUP(B9,Sheet1!E:I,5,0))),"")
 
Last edited:
Upvote 0
Nearly

=IFERROR(IF($G$4>Sheet1!$C$2,"", IF(Sheet1!$L$3="Ready","",IF(VLOOKUP(B9,Sheet1!E:I,5,0)="","",VLOOKUP(B9,Sheet1!E:I,5,0)))),"")
 
Upvote 0

Forum statistics

Threads
1,214,999
Messages
6,122,645
Members
449,093
Latest member
Ahmad123098

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