+ Reply to Thread
Results 1 to 5 of 5

if then formula

  1. #1
    Registered User
    Join Date
    02-12-2016
    Location
    Raleigh
    MS-Off Ver
    2010
    Posts
    5

    if then formula

    I am trying to sell tickets and users have a choice of 5 tickets for $5, 10 for $10 and 25 for $20, and I cannot figure out a formula for the drop down choice that will show the right total in the next column

    Thanks to anyone for helping

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,062

    Re: if then formula

    =LOOKUP(A1,{5,10,25},{5,10,20})

    where A1 is the number of tickets
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    02-12-2016
    Location
    Raleigh
    MS-Off Ver
    2010
    Posts
    5

    Re: if then formula

    G is Raffle tickets H is total
    On the dropdown for Column G, a person chooses 5, 10 or 25 tickets, Column H is the total based on what is entered in G, et. al 5 is chosen G,, then H shows $5, 10 in G, H shows $10, 25 in G, H shows $20. .

    Sorry if I was not clearer.

    Thanks

  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,062

    Re: if then formula

    Replace A1 in my formula with the cell in column G

  5. #5
    Registered User
    Join Date
    02-12-2016
    Location
    Raleigh
    MS-Off Ver
    2010
    Posts
    5

    Re: if then formula

    Tried it, did not work.
    Thanks

+ 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. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  2. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 PM

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