#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Look up formula

Is it possible to write a formula that #1 has to look in a column for a
specific word and then if it is there then #2 goes to a previous tab and
grabs the information that is the last thing typed in that column?

Hope this makes sense.

Many thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Look up formula

Hi,

How does it know which "previous tab" to pick? How does it know which
column to pick?

If we say Yes, is that good enough?

If you want a suggested formula you would need to show us samples of the
data in the tab you are entering the formula in and other details. For
example, is it looking for the word by itself in a cell or is the word part
of a sentence? Does it make any difference what the word is, or on what row
it finds it? Is this search case sensitive or not?

The general formulas for the last item in a column a

=INDEX(C3:C19,MATCH(TRUE,C3:C19<""))
=LOOKUP(9^9,C3:C21)
=LOOKUP(2,1/(B:B<""),B:B)
=LOOKUP(REPT("z",255),B2:B21)
=LOOKUP(9^9,IF(C3:C150,C3:C15))

Of course which one you choose depends on your data.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Chel" wrote:

Is it possible to write a formula that #1 has to look in a column for a
specific word and then if it is there then #2 goes to a previous tab and
grabs the information that is the last thing typed in that column?

Hope this makes sense.

Many thanks

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Look up formula

Hi there

The worksheets are weekly €“ eq €˜Mar 8-15 & €˜Mar 15-21

Here is an example:

Worksheet €˜Mar 8-15

A B C
1 Date Location Comment
2 8 - Down
3 9 - Down
4 10 Manitoba Working
5 11 - Working

Worksheet €˜Mar 15-21

A B C
1 Date Location Comment
2 15 - Down
3 16 - Working
4 17
5 18

In worksheet Mar 15-21, ---- B2, I would like to put a formula that looks at
C2 if it says €˜working then got to worksheet Mar 8-15 and look at the range
B2:B5 and choose that last location in that range and insert it.
My new worksheet would have in B3 the word Manitoba. Hope this is a bit
clearer. In the meantime I will play around with a few of those formulas and
see if I can get it to work.
Thanks for your time with this!


"Shane Devenshire" wrote:

Hi,

How does it know which "previous tab" to pick? How does it know which
column to pick?

If we say Yes, is that good enough?

If you want a suggested formula you would need to show us samples of the
data in the tab you are entering the formula in and other details. For
example, is it looking for the word by itself in a cell or is the word part
of a sentence? Does it make any difference what the word is, or on what row
it finds it? Is this search case sensitive or not?

The general formulas for the last item in a column a

=INDEX(C3:C19,MATCH(TRUE,C3:C19<""))
=LOOKUP(9^9,C3:C21)
=LOOKUP(2,1/(B:B<""),B:B)
=LOOKUP(REPT("z",255),B2:B21)
=LOOKUP(9^9,IF(C3:C150,C3:C15))

Of course which one you choose depends on your data.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Chel" wrote:

Is it possible to write a formula that #1 has to look in a column for a
specific word and then if it is there then #2 goes to a previous tab and
grabs the information that is the last thing typed in that column?

Hope this makes sense.

Many thanks

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



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

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"