Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 173
Default Vlookup across several sheets


Dear expert,
Got 2 questions.

1. How is the command for vlookup if I want to search something that need to
search across 3 sheets please?
To be precise, I have 4 sheets "Run", "Daily", "Weekly" and "Monthly" in a
file.
Command will be in sheet "Run" and vlookup something that may be in sheets
"Daily", "Weekly" and "Monthly".

2. Say a cell IP6 in Sheet "Run" ... have a command like this.
=IF(IL6="","",IF(MIN(IM6:IO6)=1,"Daily",IF(MIN(IM6 :IO6)=2,"Weekly",IF(MIN(IM6:IO6)=3,"Monthly",""))) )
The outcome in IP6 can be either "Daily" or "Weekly" or "Monthly" ... depend
on the min value of cell IM6:IO6.
If IP6 is "Daily", can I set a vlookup command based on the outcome in IP6
and search same-named sheet please ?
For instance .....
If IP6 answer is "Daily", can I set the vlookup command in cell IQ6 and
search from Sheet "Daily" automatically?
If IP6 answer is "Weekly", can I set the vlookup command in cell IQ6 and
search from Sheet "Weekly"?
If IP6 answer is "Monthly", can I set the vlookup command in cell IQ6 and
search from Sheet "Monthly"?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Vlookup across several sheets

So what's the lookup value/cell reference?

Where on the other sheets are we supposed to look for the lookup value?

See if this is what you had in mind. We'll assume the lookup table is
*exactly* structured and is in the *exact* same location on each sheet. The
lookup value will be cell A1 and the lookup table will be columns A:B
returning the result from column B.

=IF(OR(MIN(IM6:IO6)={1,2,3}),VLOOKUP(A1,CHOOSE(MIN (IM6:IO6),Daily!A:B,Weekly!A:B,Monthly!A:B),2,0)," ")

--
Biff
Microsoft Excel MVP


"Elton Law" wrote in message
...

Dear expert,
Got 2 questions.

1. How is the command for vlookup if I want to search something that need
to
search across 3 sheets please?
To be precise, I have 4 sheets "Run", "Daily", "Weekly" and "Monthly" in a
file.
Command will be in sheet "Run" and vlookup something that may be in sheets
"Daily", "Weekly" and "Monthly".

2. Say a cell IP6 in Sheet "Run" ... have a command like this.
=IF(IL6="","",IF(MIN(IM6:IO6)=1,"Daily",IF(MIN(IM6 :IO6)=2,"Weekly",IF(MIN(IM6:IO6)=3,"Monthly",""))) )
The outcome in IP6 can be either "Daily" or "Weekly" or "Monthly" ...
depend
on the min value of cell IM6:IO6.
If IP6 is "Daily", can I set a vlookup command based on the outcome in IP6
and search same-named sheet please ?
For instance .....
If IP6 answer is "Daily", can I set the vlookup command in cell IQ6 and
search from Sheet "Daily" automatically?
If IP6 answer is "Weekly", can I set the vlookup command in cell IQ6 and
search from Sheet "Weekly"?
If IP6 answer is "Monthly", can I set the vlookup command in cell IQ6 and
search from Sheet "Monthly"?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 173
Default Vlookup across several sheets

Hi T. Valko,
I gave insufficient info, but you could still manage to solve it.
I've tried. Great JOB ...... Thanks for your help .... Tks indeed.

"T. Valko" wrote:

So what's the lookup value/cell reference?

Where on the other sheets are we supposed to look for the lookup value?

See if this is what you had in mind. We'll assume the lookup table is
*exactly* structured and is in the *exact* same location on each sheet. The
lookup value will be cell A1 and the lookup table will be columns A:B
returning the result from column B.

=IF(OR(MIN(IM6:IO6)={1,2,3}),VLOOKUP(A1,CHOOSE(MIN (IM6:IO6),Daily!A:B,Weekly!A:B,Monthly!A:B),2,0)," ")

--
Biff
Microsoft Excel MVP


"Elton Law" wrote in message
...

Dear expert,
Got 2 questions.

1. How is the command for vlookup if I want to search something that need
to
search across 3 sheets please?
To be precise, I have 4 sheets "Run", "Daily", "Weekly" and "Monthly" in a
file.
Command will be in sheet "Run" and vlookup something that may be in sheets
"Daily", "Weekly" and "Monthly".

2. Say a cell IP6 in Sheet "Run" ... have a command like this.
=IF(IL6="","",IF(MIN(IM6:IO6)=1,"Daily",IF(MIN(IM6 :IO6)=2,"Weekly",IF(MIN(IM6:IO6)=3,"Monthly",""))) )
The outcome in IP6 can be either "Daily" or "Weekly" or "Monthly" ...
depend
on the min value of cell IM6:IO6.
If IP6 is "Daily", can I set a vlookup command based on the outcome in IP6
and search same-named sheet please ?
For instance .....
If IP6 answer is "Daily", can I set the vlookup command in cell IQ6 and
search from Sheet "Daily" automatically?
If IP6 answer is "Weekly", can I set the vlookup command in cell IQ6 and
search from Sheet "Weekly"?
If IP6 answer is "Monthly", can I set the vlookup command in cell IQ6 and
search from Sheet "Monthly"?




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Vlookup across several sheets

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Elton Law" wrote in message
...
Hi T. Valko,
I gave insufficient info, but you could still manage to solve it.
I've tried. Great JOB ...... Thanks for your help .... Tks indeed.

"T. Valko" wrote:

So what's the lookup value/cell reference?

Where on the other sheets are we supposed to look for the lookup value?

See if this is what you had in mind. We'll assume the lookup table is
*exactly* structured and is in the *exact* same location on each sheet.
The
lookup value will be cell A1 and the lookup table will be columns A:B
returning the result from column B.

=IF(OR(MIN(IM6:IO6)={1,2,3}),VLOOKUP(A1,CHOOSE(MIN (IM6:IO6),Daily!A:B,Weekly!A:B,Monthly!A:B),2,0)," ")

--
Biff
Microsoft Excel MVP


"Elton Law" wrote in message
...

Dear expert,
Got 2 questions.

1. How is the command for vlookup if I want to search something that
need
to
search across 3 sheets please?
To be precise, I have 4 sheets "Run", "Daily", "Weekly" and "Monthly"
in a
file.
Command will be in sheet "Run" and vlookup something that may be in
sheets
"Daily", "Weekly" and "Monthly".

2. Say a cell IP6 in Sheet "Run" ... have a command like this.
=IF(IL6="","",IF(MIN(IM6:IO6)=1,"Daily",IF(MIN(IM6 :IO6)=2,"Weekly",IF(MIN(IM6:IO6)=3,"Monthly",""))) )
The outcome in IP6 can be either "Daily" or "Weekly" or "Monthly" ...
depend
on the min value of cell IM6:IO6.
If IP6 is "Daily", can I set a vlookup command based on the outcome in
IP6
and search same-named sheet please ?
For instance .....
If IP6 answer is "Daily", can I set the vlookup command in cell IQ6 and
search from Sheet "Daily" automatically?
If IP6 answer is "Weekly", can I set the vlookup command in cell IQ6
and
search from Sheet "Weekly"?
If IP6 answer is "Monthly", can I set the vlookup command in cell IQ6
and
search from Sheet "Monthly"?






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
Vlookup between two sheets chris Excel Worksheet Functions 3 April 2nd 23 07:59 PM
VLookup from many sheets Byron720 Excel Discussion (Misc queries) 0 January 23rd 08 01:47 AM
vlookup in several sheets kris Excel Worksheet Functions 2 February 3rd 06 12:56 PM
vlookup over 2 sheets? James Excel Worksheet Functions 12 September 14th 05 07:03 PM
Vlookup from 2 different sheets WorkerBee Excel Worksheet Functions 20 February 21st 05 08:57 PM


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