unable to get formula to work

Patcheen

Active Member
Joined
Sep 28, 2015
Messages
391
Office Version
  1. 365
Platform
  1. Windows
what is wrong with my formula i keep getting an error

=COUNTIFS('Game Data'!E$2:E3,='Shirt Database'!A3,'Game Data'!H3)

im trying to calculate if Game Data'!E$2:E3 = Shirt Database'!A3 and if thats correct then return the answer in Game Data'!H3

thank you for your help
 
that works but not what i though it was as i forgot to include something for arguments sake can you see my sample file to see what im trying to achieve - thank you
 
Upvote 0

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
OK, you got something strange going on with your Excel.
The formula in D2 below WORKS correctly, HOWEVER, if you just copy down the formula, it will only PASTE value instead, UNLESS, after you copied the formula down column, THEN, go into each formula cell and hit ENTER, THEN it will correct itself.
You may have a corrupt file.

See C11:C15 and D11:D15, simple math, I copied formula down from D11 to D15, it only show the D11 value.


Excel 2010
ABCDE
110Cell A1 has data valadation
2HarryOther data4
3Tom4
4John35
5Paddy10
6
7
8
9A1 is a drop down menu
10
1113
1223
1333
1443
1553
other data
Cell Formulas
RangeFormula
D2=SUMIF('Game Data'!E$2:E$19,A2,'Game Data'!H$2:H$19)
D11=C11+C12
D12=C12+C13
D13=C13+C14
D14=C14+C15
D15=C15+C16
 
Upvote 0
Had another look at your workbook, it turns out you had Formula Calculations on Manual, don't know if that's intentional on your part.

So the formula as posted above in D2 should give you what you're looking for, I'll post it again:


Excel 2010
ABCD
14Cell A1 has data valadation
2HarryOther data4
3Tom4
4John35
5Paddy10
6
7
8
9A1 is a drop down menu
other data
Cell Formulas
RangeFormula
D2=SUMIF('Game Data'!E$2:E$19,A2,'Game Data'!H$2:H$19)
 
Upvote 0

Forum statistics

Threads
1,223,738
Messages
6,174,207
Members
452,551
Latest member
croud

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