Help: Complicated IF formula

santhoshlk

Board Regular
Joined
Feb 6, 2006
Messages
206
Dears I have the below =IF formula to calculate my DSO

=IF(E13=0,0,ROUND((IF(C13,MIN(E13,C13)/C13,1)*B13)+(((E13-C13)>0)*IF(C14,(MIN((E13-C13),C14)/C14),1)*B14)+(((E13-SUM(C13:C14))>0)*IF(C15,(MIN((E13-SUM(C13:C14)),C15)/C15),1)*B15)+(((E13-SUM(C13:C15))>0)*IF(C16,(MIN((E13-SUM(C13:C15)),C16)/C16),1)*B16),0))

in this formula data range is from row no 13 till row no 16 only.

i need to include the row no 17 to 20 in the same formula, how this possible

thanks - Santhosh
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Hi,

From what I've heard and seen I believe you could potenitally use a Vlookup statement instead of this complicated IF statement. This way you'd also be able to include the additional requirements.

Don't take this as 100% guarantee as I am no excel expert but this is what I would explore if I were you.
 
Upvote 0

Forum statistics

Threads
1,215,063
Messages
6,122,930
Members
449,094
Latest member
teemeren

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