#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dave
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
B4MB4M
 
Posts: n/a
Default Formula


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

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MyVeryOwnSelf
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
via135
 
Posts: n/a
Default 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

Dave Wrote:
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



--
via135
------------------------------------------------------------------------
via135's Profile: http://www.excelforum.com/member.php...o&userid=26725
View this thread: http://www.excelforum.com/showthread...hreadid=541960

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dave
 
Posts: n/a
Default 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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
2 Nesting questions Starchaser Excel Worksheet Functions 7 January 20th 06 06:53 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


All times are GMT +1. The time now is 06:32 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"