ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   horizontal sumif help (https://www.excelbanter.com/excel-worksheet-functions/125135-horizontal-sumif-help.html)

Marcelo

horizontal sumif help
 
Hi,

I'm trying to do this

=sumif(A1:G1,"HO",K1:Q1)


A1 B1 C1 D1 E1 F1 G1 ....K1 L1 M1 N1 O1 P1 Q1.........AZ (RESULT)
O HO O O O HO O 2 4 5 56 2 2 1 6


But don't work, any idea?

Thanks!

Marcelo


T. Valko

horizontal sumif help
 
Numbers formatted as TEXT.

Leading and/or trailing spaces.

There's nothing wrong with the formula.

Biff

"Marcelo" wrote in message
ups.com...
Hi,

I'm trying to do this

=sumif(A1:G1,"HO",K1:Q1)


A1 B1 C1 D1 E1 F1 G1 ....K1 L1 M1 N1 O1 P1 Q1.........AZ (RESULT)
O HO O O O HO O 2 4 5 56 2 2 1 6


But don't work, any idea?

Thanks!

Marcelo




Martin Fishlock

horizontal sumif help
 
It works old chap.

Ho = cell 2 and cell 6

ie L1 = 4 and P1 = 2 sum =6 result.

What did you want?

Or have you got spaces in your data?



--
Hope this helps
Martin Fishlock, Bangkok, Thailand
Please do not forget to rate this reply.


"Marcelo" wrote:

Hi,

I'm trying to do this

=sumif(A1:G1,"HO",K1:Q1)


A1 B1 C1 D1 E1 F1 G1 ....K1 L1 M1 N1 O1 P1 Q1.........AZ (RESULT)
O HO O O O HO O 2 4 5 56 2 2 1 6


But don't work, any idea?

Thanks!

Marcelo




All times are GMT +1. The time now is 02:17 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com