If statement (possibly)

Sawdeeka01

New Member
Joined
Mar 31, 2020
Messages
37
Office Version
  1. 365
Hello,

I am hoping you could assist me please. I have the below table and formula which is calculating the Time to Convert between columns A and B, which is working great for me. I need to add in a consideration to the formula however I am unsure how to. Is there anyone who could advise how I am best to calculate the Time to Convert (column D) but only when Converted is indicated (column C). My current formula is calculating everything however 'Not converted' needs to be excluded from the calculation.

I am hoping this makes sense!

My formula is: =IF(COUNT(A3,B3)<2,"",NETWORKDAYS(A3,B3,holidays))

1677119325476.png


Thank you in advance!

Rox :)
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Try this
Excel Formula:
=IF(AND(COUNT(A3,B3)<2,C3="Converted"),"",NETWORKDAYS(A3,B3,holidays))
 
Upvote 0
Try this
Excel Formula:
=IF(AND(COUNT(A3,B3)<2,C3="Converted"),"",NETWORKDAYS(A3,B3,holidays))
Hi,
Thank you however this isn't working, it is still calculating the 'Not converted' and is also populating the blank cells which I don't want...
 
Upvote 0
Try
IF(OR(C3="Not converted",B3="",A3=""),"",NETWORKDAYS(A3,B3,holidays))
 
Upvote 0
Solution

Forum statistics

Threads
1,215,334
Messages
6,124,325
Members
449,154
Latest member
pollardxlsm

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