+ Reply to Thread
Results 1 to 9 of 9

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

  1. #1
    Forum Contributor
    Join Date
    01-31-2013
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    124

    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

    thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    13,764

    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.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    Waterlooville,England
    MS-Off Ver
    Office 2010
    Posts
    16,518

    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" ...
    Last edited by JohnTopley; 08-21-2015 at 03:19 PM.

  4. #4
    Forum Contributor
    Join Date
    01-31-2013
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    124

    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 ,

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

    appreciate any help

    please help
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    Waterlooville,England
    MS-Off Ver
    Office 2010
    Posts
    16,518

    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

  6. #6
    Forum Guru Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

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

    Quote Originally Posted by JohnTopley View Post
    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
    I didn't download the file.

    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.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    Waterlooville,England
    MS-Off Ver
    Office 2010
    Posts
    16,518

    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)

  8. #8
    Forum Guru Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    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.

  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    Waterlooville,England
    MS-Off Ver
    Office 2010
    Posts
    16,518

    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.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 07-20-2013, 01:49 AM
  2. Replies: 2
    Last Post: 06-05-2013, 01:14 PM
  3. Need to link UndoRow to the Undo Arrow or CMD+Z
    By ghoshl1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-11-2012, 03:34 AM
  4. Replies: 0
    Last Post: 04-08-2009, 06:42 PM
  5. Dynamically build a link
    By Hall in forum Excel General
    Replies: 1
    Last Post: 03-15-2006, 04:55 PM
  6. Use Cell Content to Build Link
    By flattire00101 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 09-06-2005, 10:05 AM
  7. Replies: 2
    Last Post: 08-02-2005, 05:05 PM
  8. [SOLVED] Break a link/formula but keep the data?
    By Task Lead Nicole in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-13-2005, 12:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1