Sumif I have no clue

Superstar31

Active Member
Joined
Nov 10, 2005
Messages
496
Book1
ABCDEF
1
2
3
4LOCATION_CODE(All)
5
6GROSSDEACTSREPORT_DATE
7NAMEEMPLOYEE_IDWKH_DISC_REASON9/1/20069/3/20069/4/2006
8VariosInfo123456FN4
9JD1
10PG9
111234561
12VariosInfo234567DF8
13JD4
14234567
15VariosInfo345678PG8
16345678
17VariosInfo456789FN4
18RY6
19456789
20567890QW1
21LH5
22567890
Sheet1


SO thats my data, I would like another cell to count if c8:c5000=FN and if d7=(cell location) then add number is d8:5000

does that makes sense, why can't i figure this out?

i've tried sumif and sum(if

but i give up
 
For test purposes say you restrict the data to what is shown in your post above.

What result(s) do you want to get in which cell?

I see 2 "FN"s in column C, with 4s for both in column D so that would be a result of 8 using

=SUMIF(C8:C22,"FN",D8:D22)

is that what you're looking for - where does the date come in?
 
Upvote 0

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
You are correct the answer would be 8, I'm not sure how important the date is, I would like it to check the date also to make sure it matches the date being used on another sheet....

Also i'm not sure why i'm not getting the same answer as you, is it because I am drawing this data from a pivot table?

Hmmm,

I posted all the data on another sheet and it worked like you said, so i must assume its because i'm trying the sumif on a pivot table/access file
 
Upvote 0

Forum statistics

Threads
1,214,651
Messages
6,120,744
Members
448,989
Latest member
mariah3

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
Back
Top