+ Reply to Thread
Results 1 to 6 of 6

Summing to avoid #N/A errors

  1. #1
    Registered User
    Join Date
    12-07-2007
    Posts
    9

    Summing to avoid #N/A errors

    Hello, I made an excel sheet with using vlookup to automatically calculates the Price and Retail Price and the Profit based on the items selected in a validation list. However am recieveing an N/A unless i fill the validation list. And i made a Profit cell to sum all the profits in the Cells. But I recieve N/A unless i fill the cells. Is there a way to auto sum the profit when i fill limited cells? I attached the cell sheet below take a look thank you!
    Attached Files Attached Files

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Try

    =SUMIF(F3:F750,"<>#N/A")
    see link to hide errors

    http://www.j-walk.com/ss/excel/usertips/tip010.htm

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    12-07-2007
    Posts
    9
    THANK YOU!! IT WORKS!!!

    There is one more thing, how do I make the Quantity in Sheet 'Recharge-Source'
    to decrease automatically if I changed in Quatity of "RECHARGE MARCH 08" Cell Quantity??

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Maybe

    =15-SUMIF('RECHARGES-MARCH-08'!B:B,'RECHARGE-SOURCE'!A2,'RECHARGES-MARCH-08'!C:C)
    Where 15 is your opening stock. 'RECHARGE-SOURCE'!A2 = Cards MTC-22

    VBA Noob

  5. #5
    Registered User
    Join Date
    12-07-2007
    Posts
    9
    Thank you, but the thing is that i might re-add the stock, and now when i select the 1st item and put 1 in q it decreases also the 2nd item in the RECHARGE-SOURCE ..

    Any other way or formula?

  6. #6
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Have the formula in a seperate cell then.

    VBA Noob

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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