+ Reply to Thread
Results 1 to 5 of 5

Formula

  1. #1
    Dave
    Guest

    Formula

    I am trying to create a formula. If discount code is A multiply by .5
    if dsicount code is B multiply by .55 excetera
    Any help would be appreciated
    --
    Dave1125

  2. #2
    Registered User
    Join Date
    02-12-2005
    Posts
    5

    maybe

    maybe something like this :

    A1 = discount code
    A2 = money value
    =IF(A1="A";A2*0,5;IF(A1="B";A2*0,55;IF(A1="C";A2*0,6;A2*0,65)))

    if you need more discount codes...just add them to the end of the line

    Regards
    B4M

  3. #3
    MyVeryOwnSelf
    Guest

    Re: Formula

    > I am trying to create a formula. If discount code is A multiply by .5
    > if discount code is B multiply by .55 etcetera


    One way...

    If an amount is in A1 and a letter is in B1, put this in C1:
    =A1*LOOKUP(B1,{"A",0.5;"B",0.55;"C",0.88})
    Adjust for your specific discount list.

  4. #4
    Forum Contributor
    Join Date
    08-28-2005
    Posts
    301

    Formula

    hi!

    in C1: =IF(B1="A",(A1*0.5),(A1*0.55))

    where COL A having the amount
    COL B having the discount code (either "A" or "B")

    -via135

    Quote Originally Posted by Dave
    I am trying to create a formula. If discount code is A multiply by .5
    if dsicount code is B multiply by .55 excetera
    Any help would be appreciated
    --
    Dave1125

  5. #5
    Dave
    Guest

    Re: Formula

    I tried this and it doesn't seem to work
    --
    Dave1125


    "B4MB4M" wrote:

    >
    > maybe something like this :
    >
    > A1 = discount code
    > A2 = money value
    > =IF(A1="A";A2*0,5;IF(A1="B";A2*0,55;IF(A1="C";A2*0,6;A2*0,65)))
    >
    > if you need more discount codes...just add them to the end of the line
    >
    > Regards
    > B4M
    >
    >
    > --
    > B4MB4M
    > ------------------------------------------------------------------------
    > B4MB4M's Profile: http://www.excelforum.com/member.php...o&userid=19846
    > View this thread: http://www.excelforum.com/showthread...hreadid=541960
    >
    >


+ 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