Formula based on contents of another cell

Pibsandsquibs

New Member
Joined
Aug 18, 2021
Messages
3
Office Version
  1. 365
Platform
  1. Windows
I have a formula that works out the number of days left on a product depending when it is due to be delivered.

The formula is currently in cell W12 is:

=IF(ISBLANK(AP12)," ",U12-S12)

It returns 1 based on the information I have in the spreadsheet currently.

AP12 is the delivery date.

This is the information in the spreadsheet

S T U V W

12 54 55 1

What I want to do is add to the formula so it only returns a value to the above formula if the product is Chilled. If the temperature is Frozen I would like W12 to be blank.

The temperature is recorded on Column J on the spreadsheet.

Is this possible?
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
@Pibsandsquibs Welcome. If I am understanding your explanation correctly then, maybe.

=IF(OR(ISBLANK(AP12),J12<>"Chilled")," ",U12-S12)
 
Upvote 0
Solution

Forum statistics

Threads
1,214,641
Messages
6,120,693
Members
448,979
Latest member
DET4492

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