+ Reply to Thread
Results 1 to 6 of 6

Drop down lists: including formulas

  1. #1
    Registered User
    Join Date
    11-27-2008
    Location
    ontario
    Posts
    7

    Drop down lists: including formulas

    Hello,
    I am wondering if anyone can help adding a formula to a text cell of a drop
    down list. I understand how to generate a drop down list, however I am stuck on the formula.
    This is the best way i can explain it:

    The text in the drop down list might be:
    - a pinch
    - a hand full
    - a shovel full
    - a wheel barrow full

    Each text cell has a formula with a number (e.g. =24) that would
    auto sum in a total column. I hope I explained i properly. Any help would be
    greatly appreciated.

    PS I know I can do it by adding another row but I would like it included in
    the down list to keep it simple and clean. Thanks.

    Tom

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    I think a sample worksheet would show better what you are trying to do.. Please attach one and explain what you want to have happen.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    11-27-2008
    Location
    ontario
    Posts
    7
    I hope this helps explain what I am looking for. This is a sample I sent to a friend, but he couldn't help me.
    Basically I would like to have the data that is in column K in column J in each cell they are beside. The long and short is I would like the numerical data to auto sum in the total column and the text to stay (show) in the cell that is chosen from the drop down list.
    Attached Files Attached Files

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try:

    =SUM(IF(J1:J9=A4:H4,K1:K9))

    which must be confirmed with CTRL+SHIFT+ENTER not just ENTER. You will see { } brackets appear around the formula

  5. #5
    Registered User
    Join Date
    11-27-2008
    Location
    ontario
    Posts
    7
    Thank you for your help, however I don't understand your suggestion. I am not sure where I should enter you formula? I tried it in the TOTAL column and it came up FALSE. Any further information would be great.

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Enter it in I5 of your sheet. Then hold the CTRL key and SHIFT key down and press ENTER..

    See I5 in attached...
    Attached Files Attached Files

+ 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