# Formula not displaing results just dollar signs

#### moe10134

##### Board Regular
I have a SUMIF formula created to sum hours that have the word Monday with the total for that day. The formula is not calculating any results for that total. Is there another formula I could try? Is this a worksheet issue? Protect/Not Protected? MS Excel 2003 vs MS Excel 2007? Why is the formula not erroring out? Also, if copied from a working spreadsheet into another speadsheet no data populates. This formula was created in the MS Excel 2007 version.

=SUMIF(\$H\$39:\$H\$61,"Monday",\$R\$39:\$R\$61)

Any suggestions?

### Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

#### Jonmo1

##### MrExcel MVP
My guess would be the values in H39:H61 are Dates, formatted to show weekday mmmm.

Try this

=SUMPRODUCT(--(WEEKDAY(\$H\$39:\$H\$61)=2),\$R\$39:\$R\$61)

1 = Sunday
2 = Monday
3 = Tuesday
Etc..

Hope that helps.

#### moe10134

##### Board Regular
Thank you for the suggestion. Didn't work, though. Still came back with a 0 result. I don't understand what I'm doing wrong. Both of those formulas should have worked??

#### Jonmo1

##### MrExcel MVP
Another possiblility is the numbers in R39:R61 are not numbers at all..but "Numbers Stored As Text"

What does this formula returnd

=ISNUMBER(R39)
And fill it down to R61

Are they all True, all False, or a mixture?

#### moe10134

##### Board Regular

=ISNUMBER(R39) came back TRUE. It's a dollar amount.

#### Jonmo1

##### MrExcel MVP
do the same thing on H39

=ISNUMBER(H39)

Also, you didn't quite answer the question...
Do they ALL return True, as in R39 and R40 and R41 etc...

#### moe10134

##### Board Regular

R23 = Day = "Monday" = ISTEXT = TRUE
K39 = Hours = "6" = ISNUMBER = TRUE
R39 = Dollar Amount = "\$350" = ISNUMBER = TRUE

=SUMIF(\$K\$39:\$K\$61,R23,\$R\$39:\$R\$61)

Formula is just not populating as it should. Not sure why when my original formula worked at one point, now it is not working. All other formulas in the spreadsheet are calculating fine. Not sure why this one is not??

#### Jonmo1

##### MrExcel MVP
There's the problem...

if R23 is a TEXT value of "Monday"
And The values in K39:K61 are NUMBERS, like 6
Then no value in K39:K61 will = "Monday"

#### moe10134

##### Board Regular
Auh, Good point! I added range I39:K61 and it worked. I kept telling it to reference "Monday" but did not include that in the lookup range. It's working fine now.

Thanks for all your help!! =)

1,106,816
Messages
5,513,555
Members
408,958
Latest member
KDox