Formula not displaing results just dollar signs

moe10134

Board Regular
Joined
Sep 8, 2005
Messages
162
Office Version
  1. 2019
Platform
  1. Windows
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

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
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.
 
Upvote 0
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??
 
Upvote 0
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?
 
Upvote 0
=ISNUMBER(R39) came back TRUE. It's a dollar amount.
 
Upvote 0
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...
 
Upvote 0
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??
 
Upvote 0
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"
 
Upvote 0
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!! =)
 
Upvote 0

Forum statistics

Threads
1,213,538
Messages
6,114,220
Members
448,554
Latest member
Gleisner2

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