SUMIF - formula not workimg?

itr674

Well-known Member
Joined
Apr 10, 2002
Messages
1,778
Trying to sum column K9:K100 if the left 2 characters in column B9:B100 equal 3Y.

Whats wrong with the formula?

SUMIF('test'!B9:B100,LEFT(2,"3Y"),'test'!K9:K100)
This message was edited by em on 2002-10-18 13:47
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

sam_d1

Board Regular
Joined
Mar 17, 2002
Messages
50
Try the following...

>>Step 1.
In cell C9 enter "=LEFT(B9,2)" [with out " & ")
>>Step 2.
Drag it down till C100.

>> Step 3.
Use the following formula
=SUMIF(C9:C100,"3Y",K9:K100)

HTH
- sam
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,209
On 2002-09-25 01:15, em wrote:
Trying to sum column K9:K100 if the left 2 characters in column B9:B100 equal 3Y.

Whats wrong with the formula?

SUMIF('test'!B9:B100,LEFT(2,"3Y"),'test'!K9:K100)

=SUMPRODUCT((LEFT('test'!B9:B100,2)="3Y")*('test'!K9:K100))
 

Forum statistics

Threads
1,143,639
Messages
5,719,983
Members
422,256
Latest member
downeybm

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top