- Jul 24, 2002
- 529
- 1
- 76
So I'm at work helping a co-worker with a state report that is due soon.
The person to do the report previously left us with little to no instruction. So after looking at her old Excel sheets, I decided to automate some of the calculations. Now that we moved to a new month worksheet, it is not calculating correctly. The information is pull from a data set query from Access.
I have a set of data in column H that is a code number of either "1" or "2". I have a set of data in I that is a number of trips which is any number from 1 to ??.
I used in the previous sheet =sumif(h2:h150, "=1", i2:i150) and it calculated the number of trips per code number. For some reason this months sheet gives me the answer of 10 for either formula "=1" and "=2".
I have tried formating cells, manually reentering the numbers, and changing the formula to ">1".
Am I missing something? Something I should try?
The person to do the report previously left us with little to no instruction. So after looking at her old Excel sheets, I decided to automate some of the calculations. Now that we moved to a new month worksheet, it is not calculating correctly. The information is pull from a data set query from Access.
I have a set of data in column H that is a code number of either "1" or "2". I have a set of data in I that is a number of trips which is any number from 1 to ??.
I used in the previous sheet =sumif(h2:h150, "=1", i2:i150) and it calculated the number of trips per code number. For some reason this months sheet gives me the answer of 10 for either formula "=1" and "=2".
I have tried formating cells, manually reentering the numbers, and changing the formula to ">1".
Am I missing something? Something I should try?
