LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

MESTRELLA29 wrote:
=SUMPRODUCT(--(GDOS!$C$3:$C$10000=$C3),GDOS!$B$3:$B$10000)

This formula is trying to work as a VLOOKUP for text "1C"

Right now the result of this formula is 0, does anyone know why and how can
I correct this?

Thanks


Two possibilities...

(1) Cells in C might have extraneous (non-printable) chars around the
entries (which you can remove with the TrimAll macro whose code you can
track down with Google).

(2) Numbers in B are not true numbers. To force them into true numbers:
Copy an unused, empty cell. Select the range in B. Run Edit|Paste
Special with the Add option checked.

Finally, you have a single condition, that is, the range in C on GDOS
must be equal to C3. In such cases, the right thing to do is to invoke a
formula with SumIf...

=SUMIF(GDOS!$C$3:$C$10000,$C3,GDOS!$B$3:$B$10000)

which is an efficient (i.e., fast).


 
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
SUMPRODUCT vs Text??? Ken Excel Worksheet Functions 2 April 9th 05 07:21 PM
Sort or Filter option? Mcobra41 Excel Worksheet Functions 3 February 23rd 05 07:22 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM
Bring all text from "Text" worksheet Dradin Excel Discussion (Misc queries) 1 December 27th 04 08:37 PM
using sumproduct in a range of text fields? Basil Excel Worksheet Functions 1 December 13th 04 12:19 PM


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