Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 57
Default If statement for equivalent value of a range

Hi Specialist,

How can I get the Currency value of a range for below table:
Col A (Currency) Column B (Price)
EUR 100
GBP 150
SEK 125
USD 170

Results in In Column C should be: (Currency convertion to SAR)
If A1=EUR, then B1*5.30
If A1=GBP, then B1*6.07
If A1=SEK, then B1*0.51
If A1=USD, then B1*3.75

Thanks for your assistance.
Rechie

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default If statement for equivalent value of a range

Suppose you have the rates in Sheet2 A1:B4

With EUR in A1
=B1*VLOOKUP(A1,Sheet2!$A$1:$B$4,2,0)

If this post helps click Yes
---------------
Jacob Skaria


"Rechie" wrote:

Hi Specialist,

How can I get the Currency value of a range for below table:
Col A (Currency) Column B (Price)
EUR 100
GBP 150
SEK 125
USD 170

Results in In Column C should be: (Currency convertion to SAR)
If A1=EUR, then B1*5.30
If A1=GBP, then B1*6.07
If A1=SEK, then B1*0.51
If A1=USD, then B1*3.75

Thanks for your assistance.
Rechie

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default If statement for equivalent value of a range

=IF(A1="EUR",B1*5.30,IF(A1="GB",B1*6.07,IF(A1="SEK ",B1*0.51,IF(A1="USD",B1*3.75,"result
undefined"))))
--
David Biddulph

"Rechie" wrote in message
...
Hi Specialist,

How can I get the Currency value of a range for below table:
Col A (Currency) Column B (Price)
EUR 100
GBP 150
SEK 125
USD 170

Results in In Column C should be: (Currency convertion to SAR)
If A1=EUR, then B1*5.30
If A1=GBP, then B1*6.07
If A1=SEK, then B1*0.51
If A1=USD, then B1*3.75

Thanks for your assistance.
Rechie



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 57
Default If statement for equivalent value of a range

Thanks Jacob, appreciate it.

Rechie



"Jacob Skaria" wrote:

Suppose you have the rates in Sheet2 A1:B4

With EUR in A1
=B1*VLOOKUP(A1,Sheet2!$A$1:$B$4,2,0)

If this post helps click Yes
---------------
Jacob Skaria


"Rechie" wrote:

Hi Specialist,

How can I get the Currency value of a range for below table:
Col A (Currency) Column B (Price)
EUR 100
GBP 150
SEK 125
USD 170

Results in In Column C should be: (Currency convertion to SAR)
If A1=EUR, then B1*5.30
If A1=GBP, then B1*6.07
If A1=SEK, then B1*0.51
If A1=USD, then B1*3.75

Thanks for your assistance.
Rechie

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 57
Default If statement for equivalent value of a range

Hi David,

It is working too, Thanks a lot for your support guys.

Rechie

"David Biddulph" wrote:

=IF(A1="EUR",B1*5.30,IF(A1="GB",B1*6.07,IF(A1="SEK ",B1*0.51,IF(A1="USD",B1*3.75,"result
undefined"))))
--
David Biddulph

"Rechie" wrote in message
...
Hi Specialist,

How can I get the Currency value of a range for below table:
Col A (Currency) Column B (Price)
EUR 100
GBP 150
SEK 125
USD 170

Results in In Column C should be: (Currency convertion to SAR)
If A1=EUR, then B1*5.30
If A1=GBP, then B1*6.07
If A1=SEK, then B1*0.51
If A1=USD, then B1*3.75

Thanks for your assistance.
Rechie




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
If statement for cell ranges to equivalent value Rechie Excel Discussion (Misc queries) 2 September 1st 09 09:58 AM
Is SET Statement only for Range? FARAZ QURESHI Excel Discussion (Misc queries) 2 March 8th 09 09:55 PM
IF Statement with a range Phillycheese5 Excel Worksheet Functions 8 July 28th 05 08:03 AM
HOW DO I GET THE EQUIVALENT OF MAXIF(RANGE,CRITERIA)? CHRIS K Excel Worksheet Functions 11 June 3rd 05 05:33 PM
CASE statement equivalent Beema Excel Worksheet Functions 1 December 15th 04 09:32 AM


All times are GMT +1. The time now is 12:07 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"