Excel if and formula

Amy24

New Member
Joined
Feb 20, 2022
Messages
3
Office Version
  1. 2016
Platform
  1. Windows
Hi I have a spreadsheet with column c2 showing either a number or blank and I have data in w2 either being warehouse, direct supply or direct delivery, I need D2 to tell me if c2 is blank and w2 is direct supply or direct delivery "pod needed", if c2 not blank I need it to say "have pod" and if w2 is warehouse it needs to return either "have pod" if value in c2 or "warehouse investigation" if blank.
I have tried if and formula but it's not returning correctly
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Hi I have a spreadsheet with column c2 showing either a number or blank and I have data in w2 either being warehouse, direct supply or direct delivery, I need D2 to tell me if c2 is blank and w2 is direct supply or direct delivery "pod needed", if c2 not blank I need it to say "have pod" and if w2 is warehouse it needs to return either "have pod" if value in c2 or "warehouse investigation" if blank.
I have tried if and formula but it's not returning correctly
could you attach a sample sheet showing what you expect the results to be
 
Upvote 0
Welcome to the MrExcel board!

From what I can gather, this is what you are asking. If not then, as @gordsky has requested, we would need some more varied sample data and expected results. Investigate XL2BB for that.

22 02 20.xlsm
CDW
1
23have poddirect supply
3pod neededdirect supply
418have poddirect delivery
5pod neededdirect delivery
645have podwarehouse
7warehouse investigationwarehouse
Amy24
Cell Formulas
RangeFormula
D2:D7D2=IF(C2="",IF(W2="warehouse","warehouse investigation","pod needed"),"have pod")
 
Upvote 0
You're welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,214,849
Messages
6,121,922
Members
449,056
Latest member
denissimo

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