Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 23
Default Lookup with Variables

This formula needs to be in Col AR

I have tried =LOOKUP(AND(F4,"??? Total"),F4:F720,AI4:AI720)

I need to find a cell in Col F that contains the value from the same row
followed by the word "Total" and returns the value from Col AI in the same
row.
(ie. F4 = 108, F7 = 108 Total, AI7 = 7.05)

The problem is that I have multiple cells with "??? Total" where "???" is a
three digit number relating to the group above it.

Can anyone help?

~Robert
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default Lookup with Variables

Try this:

=INDEX(AI4:AI720,MATCH(F4&" Total",F4:F720,0))

Biff

"rlee1999" wrote in message
...
This formula needs to be in Col AR

I have tried =LOOKUP(AND(F4,"??? Total"),F4:F720,AI4:AI720)

I need to find a cell in Col F that contains the value from the same row
followed by the word "Total" and returns the value from Col AI in the same
row.
(ie. F4 = 108, F7 = 108 Total, AI7 = 7.05)

The problem is that I have multiple cells with "??? Total" where "???" is
a
three digit number relating to the group above it.

Can anyone help?

~Robert



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default Lookup with Variables

Maybe something like this:

With your posted scenario
and
A1: 108

This formula returns the "108 Total" value (assuming that "108 Total"
appears only once in the range)
B1: =SUMIF(F4:F720,A1&" Total",AI4:AI720)

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"rlee1999" wrote:

This formula needs to be in Col AR

I have tried =LOOKUP(AND(F4,"??? Total"),F4:F720,AI4:AI720)

I need to find a cell in Col F that contains the value from the same row
followed by the word "Total" and returns the value from Col AI in the same
row.
(ie. F4 = 108, F7 = 108 Total, AI7 = 7.05)

The problem is that I have multiple cells with "??? Total" where "???" is a
three digit number relating to the group above it.

Can anyone help?

~Robert

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 2 variables KarenF Excel Discussion (Misc queries) 1 August 28th 06 04:10 PM
showing lookup result with multiple variables jprice Excel Discussion (Misc queries) 2 July 12th 06 12:50 AM
can't figure out LOOKUP with 2 variables LTUser54 Excel Discussion (Misc queries) 1 May 30th 06 07:41 PM
Lookup (multiple variables) stevenpwhite Excel Worksheet Functions 2 December 16th 05 11:03 AM
double lookup, nest, or macro? Josef.angel Excel Worksheet Functions 1 October 29th 04 09:50 AM


All times are GMT +1. The time now is 02:09 AM.

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

About Us

"It's about Microsoft Excel"