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

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

Jonmo1

MrExcel MVP
Joined
Oct 12, 2006
Messages
44,061
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
Joined
Sep 8, 2005
Messages
162
Office Version
  1. 2019
Platform
  1. Windows
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
Joined
Oct 12, 2006
Messages
44,061
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
Joined
Sep 8, 2005
Messages
162
Office Version
  1. 2019
Platform
  1. Windows

ADVERTISEMENT

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

Jonmo1

MrExcel MVP
Joined
Oct 12, 2006
Messages
44,061
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
Joined
Sep 8, 2005
Messages
162
Office Version
  1. 2019
Platform
  1. Windows

ADVERTISEMENT

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
Joined
Oct 12, 2006
Messages
44,061
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
Joined
Sep 8, 2005
Messages
162
Office Version
  1. 2019
Platform
  1. Windows
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!! =)
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,168,030
Messages
5,856,935
Members
431,841
Latest member
jaybeem

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
Top