#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 43
Default Lookup question

Im having problems this the following formula:
=LOOKUP(2,1/(Format!A2:A200=D3),B2:B200)

What I want is that only D3 becomes D4, D5, D6... and the rest stays the
same when I copy the formula for the rest of rows:
=LOOKUP(2,1/(Format!A2:A200=D4),B2:B200),
=LOOKUP(2,1/(Format!A2:A200=D5),B2:B200),
=LOOKUP(2,1/(Format!A2:A200=D6),B2:B200),
....

(But it instead it becomes:
=LOOKUP(2,1/(Format!A3:A200=D4),B3:B200),
=LOOKUP(2,1/(Format!A4:A200=D5),B4:B200),
=LOOKUP(2,1/(Format!A5:A200=D6),B5:B200),
....

Any suggestions?

--
Aline
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default Lookup question

Try


=LOOKUP(2,1/(Format!$A$2:$A$200=D3),$B$2:$B$200)




--


Regards,


Peo Sjoblom



"Aline" wrote in message
...
I'm having problems this the following formula:
=LOOKUP(2,1/(Format!A2:A200=D3),B2:B200)

What I want is that only D3 becomes D4, D5, D6... and the rest stays the
same when I copy the formula for the rest of rows:
=LOOKUP(2,1/(Format!A2:A200=D4),B2:B200),
=LOOKUP(2,1/(Format!A2:A200=D5),B2:B200),
=LOOKUP(2,1/(Format!A2:A200=D6),B2:B200),
...

(But it instead it becomes:
=LOOKUP(2,1/(Format!A3:A200=D4),B3:B200),
=LOOKUP(2,1/(Format!A4:A200=D5),B4:B200),
=LOOKUP(2,1/(Format!A5:A200=D6),B5:B200),
...

Any suggestions?

--
Aline



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 43
Default Lookup question

Thank you for your response.

I tried before it did not work. I will try it again.


--
Aline


"Peo Sjoblom" wrote:

Try


=LOOKUP(2,1/(Format!$A$2:$A$200=D3),$B$2:$B$200)




--


Regards,


Peo Sjoblom



"Aline" wrote in message
...
I'm having problems this the following formula:
=LOOKUP(2,1/(Format!A2:A200=D3),B2:B200)

What I want is that only D3 becomes D4, D5, D6... and the rest stays the
same when I copy the formula for the rest of rows:
=LOOKUP(2,1/(Format!A2:A200=D4),B2:B200),
=LOOKUP(2,1/(Format!A2:A200=D5),B2:B200),
=LOOKUP(2,1/(Format!A2:A200=D6),B2:B200),
...

(But it instead it becomes:
=LOOKUP(2,1/(Format!A3:A200=D4),B3:B200),
=LOOKUP(2,1/(Format!A4:A200=D5),B4:B200),
=LOOKUP(2,1/(Format!A5:A200=D6),B5:B200),
...

Any suggestions?

--
Aline




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 793
Default Lookup question

What Peo has suggested should work. It did for me.


"Aline" wrote:

Thank you for your response.

I tried before it did not work. I will try it again.


--
Aline


"Peo Sjoblom" wrote:

Try


=LOOKUP(2,1/(Format!$A$2:$A$200=D3),$B$2:$B$200)




--


Regards,


Peo Sjoblom



"Aline" wrote in message
...
I'm having problems this the following formula:
=LOOKUP(2,1/(Format!A2:A200=D3),B2:B200)

What I want is that only D3 becomes D4, D5, D6... and the rest stays the
same when I copy the formula for the rest of rows:
=LOOKUP(2,1/(Format!A2:A200=D4),B2:B200),
=LOOKUP(2,1/(Format!A2:A200=D5),B2:B200),
=LOOKUP(2,1/(Format!A2:A200=D6),B2:B200),
...

(But it instead it becomes:
=LOOKUP(2,1/(Format!A3:A200=D4),B3:B200),
=LOOKUP(2,1/(Format!A4:A200=D5),B4:B200),
=LOOKUP(2,1/(Format!A5:A200=D6),B5:B200),
...

Any suggestions?

--
Aline




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
Another Lookup Question Bob Excel Discussion (Misc queries) 3 July 24th 08 07:27 PM
LOOKUP QUESTION kahuna Excel Discussion (Misc queries) 1 June 29th 07 11:20 AM
LOOKUP Question shakey1181 Excel Discussion (Misc queries) 4 May 31st 06 01:59 PM
Lookup question Ntisch Excel Discussion (Misc queries) 4 June 27th 05 07:00 AM
lookup question mwc0914 Excel Worksheet Functions 1 June 13th 05 09:23 PM


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