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

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

squirrel31

New Member
Joined
Sep 15, 2014
Messages
30
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.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,487
Messages
5,831,982
Members
430,100
Latest member
namhnz

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
Top