Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ed
 
Posts: n/a
Default Help needed with IF function

Hi All,

I am trying to come up with a spread sheet that would convert amount in
certain foreign currency to local currency equivalent and show final value
in local currency only if there are input for both foreign currency
(e.g.USD, EUR) and amount in 2 separate adjacent cells. The output in
another cell for the local currency equivalent should not display any thing
if both datas are NOT present. Think the nested IF function combined with
VLookup can do this trick.

So far, I have only managed below Vlookup formula and the cell display #NA
which is not desirable. I would like it to be blank. Just couldn't work out
the correct nested IF to combine into below Vlookup.

=VLOOKUP('Work Sheet'!F4,'Currency Exchange Rating'!A1:D5,2)

In sheet Currency Exchange Rate are the existing Exchange rate which is
updated weekly.

The results are calculated and displayed in Work Sheet.

Any help would appreciated here ... Thnks in advance.


  #2   Report Post  
dave
 
Posts: n/a
Default

If you wan't to avoid the N/A during you're lookup and
only give an answer when the lookup finds something...

=if(isna(VLOOKUP('Work Sheet'!F4,'Currency Exchange
Rating'!A1:D5,2)),"",VLOOKUP('Work Sheet'!F4,'Currency
Exchange Rating'!A1:D5,2))

this gives you a blank when there is nothing to lookup -
you can change the "" to 0 if you'd rather have it display
a zero.

hth,
Dave



-----Original Message-----
Hi All,

I am trying to come up with a spread sheet that would

convert amount in
certain foreign currency to local currency equivalent and

show final value
in local currency only if there are input for both

foreign currency
(e.g.USD, EUR) and amount in 2 separate adjacent cells.

The output in
another cell for the local currency equivalent should not

display any thing
if both datas are NOT present. Think the nested IF

function combined with
VLookup can do this trick.

So far, I have only managed below Vlookup formula and the

cell display #NA
which is not desirable. I would like it to be blank. Just

couldn't work out
the correct nested IF to combine into below Vlookup.

=VLOOKUP('Work Sheet'!F4,'Currency Exchange Rating'!

A1:D5,2)

In sheet Currency Exchange Rate are the existing Exchange

rate which is
updated weekly.

The results are calculated and displayed in Work Sheet.

Any help would appreciated here ... Thnks in advance.


.

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
Hyperlinks using R[1]C[1] and offset function in its cell referenc Elijah-Dadda Excel Worksheet Functions 0 March 5th 05 03:31 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
function needed David Harrison Excel Worksheet Functions 1 February 23rd 05 11:28 PM
IF function help needed jmcclain Excel Worksheet Functions 2 February 23rd 05 04:33 PM
Urgent help needed: IF function Terence Excel Worksheet Functions 3 November 16th 04 02:29 AM


All times are GMT +1. The time now is 11:14 PM.

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

About Us

"It's about Microsoft Excel"