Not calculating

Patcheen

Active Member
Joined
Sep 28, 2015
Messages
388
Office Version
  1. 365
Platform
  1. Windows
why is this not calculating?

=IFERROR(SUM('Game Data'!$E$2:$E$10000,$A$1,'Game Data'!$H$2:$H$10000,"=>1"),"")

"E" is list of names that match "A1" and "H" is numbers greater or equal to 1
 
Last edited:
Ok

so tell me

are you after counting the number instances progressivly then.

like this, john is in A1. Below is column E, H and the rwsults

bill 2 0
jo 5 0
john 9 9
jo 2 0
john 2 11
bill 7 0
john 3 14

??

dave
 
Upvote 0

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
If I am correct with my last post.

TRY this

=IF(AND('game data'!E1='game data'!A$1,'game data'!H1>=1),SUMIF('game data'!E$1:E1,'game data'!A$1,'game data'!H$1:H1),"")

and copy down in your desired column.

this only sums the the numbers from column H if E matches A1 and H is >=1 up to the point of the row with the formula in.

Giving you at sum of all true critera to that point

Maybe what you want??

Dave
 
Upvote 0
Ok

so tell me

are you after counting the number instances progressivly then.

like this, john is in A1. Below is column E, H and the rwsults

bill 2 0
jo 5 0
john 9 9
jo 2 0
john 2 11
bill 7 0
john 3 14

??

dave

This looks correct but now to put it to work
 
Upvote 0

your formula -
=IF(AND('game data'!E1='game data'!A$1,'game data'!H1>=1),SUMIF('game data'!E$1:E1,'game data'!A$1,'game data'!H$1:H1),"")

mine has to have e1:e10000 and h1:h10000

E1 must match A1

maybe if i put in an date column which would be more confusing but maybe possible i have that as is only to include date to make it all match up?
 
Upvote 0
its ok mate

in what way was the results incorrect.

Dave
 
Last edited:
Upvote 0
as you copy the formula down

all the 1's will change in the copy down formulas
 
Upvote 0
2 sheets -

1st sheet Game Data -

Column E2:e10000 is names

Column C2:c10000 is dates

Column H2:h10000 is numbers

------ Sheet 2

Cell a1 is the selected name to match the name in sheet 1 column e2:e10000

column "b" is the dates which will match the revelant date in sheet 1 column C2:c10000

so if the date and cell from sheet 2 match the criteria in sheet 1 it should give the number in the relevant cell of "H" an subsequently add them up as it enter counters more

Hope this makes more sence
 
Upvote 0

Forum statistics

Threads
1,221,418
Messages
6,159,790
Members
451,589
Latest member
Harold14

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