Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default SELECT SUM(h) WHERE e = 'eBay Payment Sent'

If SQL queries could be performed in Excel, I'd do "SELECT SUM(h)
WHERE e = 'eBay Payment Sent'". Since SQL doesn't support SQL,
however, I need to try something else. The following didn't work:

=SUMIF(E2:E542,"=eBay Payment Sent",H2:H542)

Any ideas what will work?

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default SELECT SUM(h) WHERE e = 'eBay Payment Sent'

The following didn't work:
=SUMIF(E2:E542,"=eBay Payment Sent",H2:H542)


What does "didn't work" mean? You get an error? An incorrect result? No
result?

The formula syntax is correct so that eliminates the formula as a problem.
So, that means there's a problem with the data.

See if this works...

=SUMPRODUCT(--(ISNUMBER(SEARCH("eBay Payment Sent",E2:E542))),H2:H542)

--
Biff
Microsoft Excel MVP


"yawnmoth" wrote in message
...
If SQL queries could be performed in Excel, I'd do "SELECT SUM(h)
WHERE e = 'eBay Payment Sent'". Since SQL doesn't support SQL,
however, I need to try something else. The following didn't work:

=SUMIF(E2:E542,"=eBay Payment Sent",H2:H542)

Any ideas what will work?

Thanks!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default SELECT SUM(h) WHERE e = 'eBay Payment Sent'

On Mar 24, 12:46*pm, "T. Valko" wrote:
The following didn't work:
=SUMIF(E2:E542,"=eBay Payment Sent",H2:H542)


What does "didn't work" mean? You get an error? An incorrect result? No
result?

The formula syntax is correct so that eliminates the formula as a problem..
So, that means there's a problem with the data.

See if this works...

=SUMPRODUCT(--(ISNUMBER(SEARCH("eBay Payment Sent",E2:E542))),H2:H542)


I get zero in both cases.
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default SELECT SUM(h) WHERE e = 'eBay Payment Sent'

yawnmoth wrote:
On Mar 24, 12:46 pm, "T. Valko" wrote:
The following didn't work:
=SUMIF(E2:E542,"=eBay Payment Sent",H2:H542)

What does "didn't work" mean? You get an error? An incorrect result? No
result?

The formula syntax is correct so that eliminates the formula as a problem.
So, that means there's a problem with the data.

See if this works...

=SUMPRODUCT(--(ISNUMBER(SEARCH("eBay Payment Sent",E2:E542))),H2:H542)


I get zero in both cases.



The data in column H could be text that looks like a number. Put the number 1
in an unused cell and then copy it. Select you data in column H and then Edit /
Paste Special / Values / Multiply / OK.
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default SELECT SUM(h) WHERE e = 'eBay Payment Sent'

I get zero in both cases.

Ok, we're narrowing it down!

What result do you get with this formula?

=COUNT(H2:H542)

That will count only *true Excel numbers* in the range. If you get a result
of 0 then your numbers aren't true numeric values.

--
Biff
Microsoft Excel MVP


"yawnmoth" wrote in message
...
On Mar 24, 12:46 pm, "T. Valko" wrote:
The following didn't work:
=SUMIF(E2:E542,"=eBay Payment Sent",H2:H542)


What does "didn't work" mean? You get an error? An incorrect result? No
result?

The formula syntax is correct so that eliminates the formula as a problem.
So, that means there's a problem with the data.

See if this works...

=SUMPRODUCT(--(ISNUMBER(SEARCH("eBay Payment Sent",E2:E542))),H2:H542)


I get zero in both cases.




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
Ebay fee formula spudsnruf Excel Discussion (Misc queries) 2 November 13th 09 12:03 AM
Ebay clone Ebay clone script RUN YOUR OWN AUCTION SITE hael_dermu Excel Discussion (Misc queries) 0 October 25th 08 05:26 AM
Starting payment when increase rate is known & total payment is kn Shailendra Harri Excel Worksheet Functions 12 September 22nd 07 09:04 PM
calculate payment with first payment due date variable? Jody Solbach Excel Worksheet Functions 1 September 8th 05 05:46 PM
how do you get a positive number payment with a mortgage payment . sam Excel Worksheet Functions 1 February 2nd 05 05:32 AM


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