# build spreadsheet with so many formula, when i add more value and undo its break link

1. ## build spreadsheet with so many formula, when i add more value and undo its break link

have build this spreadsheet, with formula, when I add the more value, and undo the value, some how its breaking the link from where its adding all the rows,

one the rows all the this formula and than

=SUMIFS(H\$11:H\$52,J\$11:J\$52,"<10%")

=SUM(AC52/AC51) to get % 9.10%

than 1 copy the 9.10 to another cell AS
=+\$AC\$53

As soon as I undo the amount all these link break and get this error msg #DIV/0!
don't know why ?

can any one help why undo causing this msg,

I should be able to add the amount and undo not get error msg

I think I know

=SUMIFS(H\$11:H\$52,J\$11:J\$52,"<10%")

when this formula adding the rows less than 10% there is nothing in these rows, I added 0 to calculate, when I undo , it takes away the 0 out form these rows, and this formaul not working

how can I use this formula on the on rows less than 10% does not have anything % so its calculate in total and when I undo it does not give me # DIV/O error msg

dnot know if my question is clear or not

see attached the file Cell AB21 wants to add

I5. to I17 have not % in the column

how can I do this

any help will appreciated  Register To Reply

2. ## Re: build spreadsheet with so many formula, when i add more value and undo its break link

You lost the criteria in the vlookup formula in D21.

If you solve that, the rest of the data will also show up.  Register To Reply

3. ## Re: build spreadsheet with so many formula, when i add more value and undo its break link

AB21 Change to

=SUMIFS(G\$2:G\$22,I\$2:I\$22,"<0.1")

in AC22

=IF(AB21=0,0,SUM(AB22/AB21))

Not clear on "breaking Links" ...  Register To Reply

4. ## Re: build spreadsheet with so many formula, when i add more value and undo its break link

hi John

I changed the formula as you suggested, but its still not adding up correctly, I want AB21 adds up total of \$ 270216.18 amount

G2.G22.I2.I22 SG&A rate less than 10% in the AB 21 cell total amount , how to add the formula the cell AB21 so it can pick all the amount even I don't have SG &A rate in some of the rows ,

I have attached the file , the amount I have in cell AC21 would like to have in AB21 add up

appreciate any help  Register To Reply

5. ## Re: build spreadsheet with so many formula, when i add more value and undo its break link

Try

=SUMPRODUCT((\$G\$2:\$G\$20)*(\$I\$2:\$I\$20<0.1))

Not I cannot use range to row 22 as there are #REF! errors in G21:G22  Register To Reply

6. ## Re: build spreadsheet with so many formula, when i add more value and undo its break link Originally Posted by JohnTopley Try

=SUMPRODUCT((\$G\$2:\$G\$20)*(\$I\$2:\$I\$20<0.1))

Not I cannot use range to row 22 as there are #REF! errors in G21:G22

When errors are present you can use an array formula** to account for (exclude) them.

=SUM(IF(I2:I22<0.1,IF(ISNUMBER(G2:G22),G2:G22)))

** array formulas need to be entered using the key
combination of CTRL,SHIFT,ENTER (not just ENTER).
Hold down both the CTRL key and the SHIFT key
then hit ENTER.  Register To Reply

7. ## Re: build spreadsheet with so many formula, when i add more value and undo its break link

Learning from Tony ...

=SUMPRODUCT((IF(ISNUMBER(\$G\$2:\$G\$22),\$G\$2:\$G\$22))*(\$I\$2:\$I\$22<0.1))

Entered as an array formula (Ctrl+Shift+Enter)  Register To Reply

8. ## Re: build spreadsheet with so many formula, when i add more value and undo its break link

If you have to array enter you may as well use SUM instead of SUMPRODUCT.  Register To Reply

9. ## Re: build spreadsheet with so many formula, when i add more value and undo its break link

Tony,
I was not suggesting using SUMPRODUCT rather than SUM: simply showing how with SUMPRODUCT you could achieve the same result,
based on the example you gave of avoiding the REF error. (as much part of my learning).

Of course it would be better to remove the REF error.  Register To Reply