+ Reply to Thread
Results 1 to 5 of 5

HELP!! Calculation based on drop down list??

Hybrid View

  1. #1
    Registered User
    Join Date
    01-18-2012
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    3

    HELP!! Calculation based on drop down list??

    Hi Guys!

    I havent been using excel for too long, needed some help?

    The page is split into two sides:

    Goods In/ Goods Out

    When i select a product from the goods in side and add a quantity,I would like to add to the main list on the far left list?

    and when i add a product on the goods out side and add a quantitiy, I would like it to be subtracted from the list on the far left?

    Ive been going crazy to find a suitable formula for this but somehow I cant find one?

    ANY IDEAS?
    Attached Files Attached Files

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: HELP!! Calculation based on drop down list??

    You can probably do this with SumIfs but I only have 2003 so it's not available to me (and it's not backward compatible)

    You can use SumProduct

    Assuming that 29 is your last line:
    PHP Code: 
    =SUMPRODUCT((($E$4:$E$29=A4)*$F$4:$F$29)-($L$4:$L$29=A4)*$M$4:$M$29
    However, rather than hardcoding the ranges you should probably use dynamic named ranges - though you'd need to be pretty nifty with them
    Last edited by Kyle123; 01-18-2012 at 10:06 AM.

  3. #3
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: HELP!! Calculation based on drop down list??

    Maybe just ...
    In B3
    =SUMIF(E:E,A3,F:F)-SUMIF(L:L,A3,M:M)
    Drag/Fill Down
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  4. #4
    Registered User
    Join Date
    01-18-2012
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: HELP!! Calculation based on drop down list??

    Thank you so much thats solved it for me!

    Appreciated!

  5. #5
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: HELP!! Calculation based on drop down list??

    Yeah, probably that.....

+ 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