+ Reply to Thread
Results 1 to 3 of 3

Change a cell formula based on a pulldown selection that changes formula argument

  1. #1
    Registered User
    Join Date
    02-01-2013
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2010
    Posts
    2

    Change a cell formula based on a pulldown selection that changes formula argument

    Hello!

    I have a series of data cells for reference at the top of a sheet, and they have pulldown lists for 3 different units. I want to create a formula to calculate a value that references this data cell, but the formula changes depending on the units selected (in this case $/kgal, $/gal, and $/m3; in my case, data cell is G4, list cell is H4 and cell reference =$N$5:$P$5 ($/kgal, $/gal, $/m3)
    When G4=$/kGal, then fx = G11*I11*K11*M11
    When G4=$/gal, then fx = G11*I11*K11*(M11*1000)
    When G4=$/m3, then fx = G11*I11*K11*(M11*0.264172)

    How can I do this? I am first timer, so I will try to attach a sample sheet for reference. Thanks for help.

    Russ
    Attached Files Attached Files

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Change a cell formula based on a pulldown selection that changes formula argument

    Try

    Please Login or Register  to view this content.
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    02-01-2013
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Change a cell formula based on a pulldown selection that changes formula argument

    Thanks Ace_XL! Works perfectly!

    Very Kind Regards,

    Russ

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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