#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tjh tjh is offline
external usenet poster
 
Posts: 96
Default special lookup

Hello,

Is it possible to use a vlookup to reference a range of data, but not have
the exact value of the text you are looking up?

For instance: if I am looking up data in A1:A500. I know the lookup_value
has at least the text "Total". However, it turns out that in the range
A1:A500 the value I am looking for has the title "This is the Total"

As I began the question, I would like to use a vlookup to pull in a value
from this range, so I guess my basic question is how would I modify the
lookup_value or the table_array portion of the vlookup formula to make this
work?

Let me know if you need more info.

Thanks,

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default special lookup

=VLOOKUP("*Total",A1:B500,2,0)

"tjh" wrote:

Hello,

Is it possible to use a vlookup to reference a range of data, but not have
the exact value of the text you are looking up?

For instance: if I am looking up data in A1:A500. I know the lookup_value
has at least the text "Total". However, it turns out that in the range
A1:A500 the value I am looking for has the title "This is the Total"

As I began the question, I would like to use a vlookup to pull in a value
from this range, so I guess my basic question is how would I modify the
lookup_value or the table_array portion of the vlookup formula to make this
work?

Let me know if you need more info.

Thanks,

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tjh tjh is offline
external usenet poster
 
Posts: 96
Default special lookup

How can I do essentially the same thing using the Sumproduct formula, and if
the word total appears anywhere in the word? Such as the word total is in a
cell as "Total People" or "The Total of All" or "The Total"

When I combine the vlookup formula suggested below into the sumproduct, the
result only brings back one of the items and not all the items with the word
Total.

Thanks,





"Teethless mama" wrote:

=VLOOKUP("*Total",A1:B500,2,0)

"tjh" wrote:

Hello,

Is it possible to use a vlookup to reference a range of data, but not have
the exact value of the text you are looking up?

For instance: if I am looking up data in A1:A500. I know the lookup_value
has at least the text "Total". However, it turns out that in the range
A1:A500 the value I am looking for has the title "This is the Total"

As I began the question, I would like to use a vlookup to pull in a value
from this range, so I guess my basic question is how would I modify the
lookup_value or the table_array portion of the vlookup formula to make this
work?

Let me know if you need more info.

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
SPECIAL LOOKUP FORMULA 4 MULTIPLE CRITERIA FARAZ QURESHI Excel Discussion (Misc queries) 1 May 5th 07 02:32 AM
Special Lookup Formula DoooWhat Excel Discussion (Misc queries) 4 March 13th 07 01:03 AM
Join 2 Lists - Lookup value in 1 list & use result in 2nd lookup JBush Excel Worksheet Functions 3 January 3rd 07 11:14 PM
Special Welcome Pop Up FARAZ QURESHI Excel Discussion (Misc queries) 3 January 1st 07 10:28 PM
Special lookup need Rajat Excel Worksheet Functions 1 December 31st 04 07:51 PM


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