+ Reply to Thread
Results 1 to 3 of 3

Individual formulas for each drop down list entry.

Hybrid View

  1. #1
    Registered User
    Join Date
    12-06-2015
    Location
    Michigan
    MS-Off Ver
    Office 365
    Posts
    79

    Question Individual formulas for each drop down list entry.

    Can you create different formulas for each drop down list entry. EX:

    Drop Down Box Items:
    Car
    Truck
    Boat

    Formula for Car: A1+A2=A3
    Formula for Truck: A1-A2=A3
    Formula for Boat: A1*A2=A3

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,219

    Re: Individual formulas for each drop down list entry.

    Hi clogistics,

    Say the dropdown is in F1, then the formula might be:

    = If(F1="Car",A1+A2,If(F1="Truck",A1-A2,If(F1="Boat",A1*A2,"")))
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,044

    Re: Individual formulas for each drop down list entry.

    If you mean that you want a formula some place that calcs based on what the DD returns, try this...

    =if(A3="Car",A1+A2,if(A3="Truck",A1-A2,IF(A3="Boat",A1*A2,"")))

    If you will only have those 3 choices...
    =if(A3="Car",A1+A2,if(A3="Truck",A1-A2,A1*A2))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Have drop down list - Need to Change formulas based on drop down selected
    By snuffnchess in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-11-2015, 01:10 PM
  2. Drop down List: Each entry link
    By gourav.singal in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-28-2012, 05:01 AM
  3. Export Drop Down List Data to Individual Worksheets
    By adamsjk31 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-11-2012, 04:38 PM
  4. Replies: 0
    Last Post: 10-06-2011, 07:03 AM
  5. drop down list with user entry?
    By zoneblitz61 in forum Excel General
    Replies: 1
    Last Post: 09-10-2008, 08:02 AM
  6. Copy data to an individual file based on drop down list
    By xlnewbe in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-05-2007, 01:52 PM
  7. Replies: 1
    Last Post: 08-15-2006, 12:05 PM

Tags for this Thread

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