Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Using VLOOKUP results in a DSUM criteria range

I use vlookup to put a string in cell A10. Then I use A10 in the criteria
range of a dsum function. Dsum returns "0" when I know that the sum should
be "100". Here is what I see in A10:

vlookup shows me "Large Cap" text in A10. but if I use function keys F2 &
F9 on Cell A10, then I see this, "{Large Cap}" including the quotes.

If I type "Large Cap" directly into A10, then Dsum finds the correct sum.
but it returns "0" if I let vlookup provide the text "Large Cap".

A10 needs to be flexible. I cannot retype the vlookup results or copy/paste.

I have used this type of vlookup/dsum formula without a problem in the past
but I have never seen the "{....}" result before now.

Please help me get my worksheet to work again. Thanks

bluefish


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 622
Default Using VLOOKUP results in a DSUM criteria range

On May 21, 1:39 pm, bluefish
wrote:
I use vlookup to put a string in cell A10. Then I use A10 in the criteria
range of a dsum function. Dsum returns "0" when I know that the sum should
be "100". Here is what I see in A10:

vlookup shows me "Large Cap" text in A10. but if I use function keys F2 &
F9 on Cell A10, then I see this, "{Large Cap}" including the quotes.

If I type "Large Cap" directly into A10, then Dsum finds the correct sum.
but it returns "0" if I let vlookup provide the text "Large Cap".

A10 needs to be flexible. I cannot retype the vlookup results or copy/paste.

I have used this type of vlookup/dsum formula without a problem in the past
but I have never seen the "{....}" result before now.

Please help me get my worksheet to work again. Thanks

bluefish


Try wrapping a TEXT() function around the VLOOKUP.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Using VLOOKUP results in a DSUM criteria range

Hello Spiky
Tried putting vlookup inside of Text function. Has no effect.
Thanks for trying.
Bluefish

"Spiky" wrote:

On May 21, 1:39 pm, bluefish
wrote:
I use vlookup to put a string in cell A10. Then I use A10 in the criteria
range of a dsum function. Dsum returns "0" when I know that the sum should
be "100". Here is what I see in A10:

vlookup shows me "Large Cap" text in A10. but if I use function keys F2 &
F9 on Cell A10, then I see this, "{Large Cap}" including the quotes.

If I type "Large Cap" directly into A10, then Dsum finds the correct sum.
but it returns "0" if I let vlookup provide the text "Large Cap".

A10 needs to be flexible. I cannot retype the vlookup results or copy/paste.

I have used this type of vlookup/dsum formula without a problem in the past
but I have never seen the "{....}" result before now.

Please help me get my worksheet to work again. Thanks

bluefish


Try wrapping a TEXT() function around the VLOOKUP.

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
DSUM - non contiguous criteria range Nick''s brother Excel Worksheet Functions 8 January 27th 07 01:39 PM
DSum criteria Troubled Excel Worksheet Functions 2 November 8th 06 04:22 AM
dsum returns 0 if criteria range too large JT Spitz Excel Worksheet Functions 1 March 1st 06 11:51 PM
Search Range for Criteria in given cell and produce results RFreeman12 Excel Discussion (Misc queries) 3 June 27th 05 09:23 PM
Disjoint range for DSUM criteria Jim Bennett Excel Worksheet Functions 2 June 9th 05 03:50 AM


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