#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 347
Default Lookup or?

Dear friends,

I have a worksheet with 4 columns, i.e. in Column1 I record the date,
Column2-4 I record the exchange rates in JPY, GBP and USD.

I need, in a different worksheet to enter the date and Currency and to:
1. Show me in a nearby cell the exchange rate of that date and currency and
2. To highlight the corresponding date and exchange rate of that currency in
the first worksheet.

Shall I need some coding or?

Any ideas will be highly appreciated.

Thanking you in advance,

GeorgeCY
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Lookup or?

--If the data is arranged in this format in Sheet1

Dates JPY GBP USD
8/5/2009 x x x
9/5/2009 x x x
10/5/2009 x x x

In Sheet2 C1
A1 = Query Date
B1 = exch rate (example USD)
=VLOOKUP(A1,Sheet1!A:D,MATCH(B1,A1:D1,0),0)

--For highlighting you can try Conditional Formatting

Create named ranges (menu InsertNameDefine)
qDate = Query Date = Sheet2 A1
qExc = Exch Rate = Sheet2 A2

1. Select the cell/Range (Sheet1 A:D).
2. From menu FormatConditional Formatting
3. For Condition1Select 'Formula Is' and enter the below formula
=AND(INDEX($A:$D,1,COLUMN())=qExc,INDEX($A:$D,ROW( ),1)=qDate)

4. Click Format ButtonPattern and select your color (say Red)
5. Hit OK

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


"George" wrote:

Dear friends,

I have a worksheet with 4 columns, i.e. in Column1 I record the date,
Column2-4 I record the exchange rates in JPY, GBP and USD.

I need, in a different worksheet to enter the date and Currency and to:
1. Show me in a nearby cell the exchange rate of that date and currency and
2. To highlight the corresponding date and exchange rate of that currency in
the first worksheet.

Shall I need some coding or?

Any ideas will be highly appreciated.

Thanking you in advance,

GeorgeCY

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Lookup or?

Correction for VLOOKUP:

In Sheet2 C1
A1 = Query Date
B1 = exch rate (example USD)
=VLOOKUP(A1,Sheet1!A:D,MATCH(B1,Sheet1!A1:D1,0),0)

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


"Jacob Skaria" wrote:

--If the data is arranged in this format in Sheet1

Dates JPY GBP USD
8/5/2009 x x x
9/5/2009 x x x
10/5/2009 x x x

In Sheet2 C1
A1 = Query Date
B1 = exch rate (example USD)
=VLOOKUP(A1,Sheet1!A:D,MATCH(B1,A1:D1,0),0)

--For highlighting you can try Conditional Formatting

Create named ranges (menu InsertNameDefine)
qDate = Query Date = Sheet2 A1
qExc = Exch Rate = Sheet2 A2

1. Select the cell/Range (Sheet1 A:D).
2. From menu FormatConditional Formatting
3. For Condition1Select 'Formula Is' and enter the below formula
=AND(INDEX($A:$D,1,COLUMN())=qExc,INDEX($A:$D,ROW( ),1)=qDate)

4. Click Format ButtonPattern and select your color (say Red)
5. Hit OK

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


"George" wrote:

Dear friends,

I have a worksheet with 4 columns, i.e. in Column1 I record the date,
Column2-4 I record the exchange rates in JPY, GBP and USD.

I need, in a different worksheet to enter the date and Currency and to:
1. Show me in a nearby cell the exchange rate of that date and currency and
2. To highlight the corresponding date and exchange rate of that currency in
the first worksheet.

Shall I need some coding or?

Any ideas will be highly appreciated.

Thanking you in advance,

GeorgeCY

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
LOOKUP FUNCTION? (LOOKUP VALUE BEING A TIME RENERATED FROM A FORMU JCC Excel Discussion (Misc queries) 5 June 26th 09 09:15 PM
Matrix lookup/mulitple criteria lookup MarkFranklin Excel Discussion (Misc queries) 3 March 31st 08 10:15 AM
Get Cell Address From Lookup (Alternative to Lookup) ryguy7272 Excel Worksheet Functions 12 September 28th 07 10:36 PM
Join 2 Lists - Lookup value in 1 list & use result in 2nd lookup JBush Excel Worksheet Functions 3 January 3rd 07 11:14 PM
Sumproduct - Condition based on lookup of a Lookup Hari Excel Discussion (Misc queries) 12 May 31st 06 09:28 AM


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