My formula is not working

BKrakowski

New Member
Joined
Mar 11, 2005
Messages
29
=SUM(IF($D$3:$D$193="OH",$C$3:$C$193))
=SUM(IF($D$3:$D$193="AL",$C$3:$C$193,0))

I have this formula written to include every state that returns a value of each purchase from said state.

All of them work, except OH. I have tried everything that I can think of, but I can not get OH to return a value for me.

Does anyone have any suggestions on how I might fix this? I am using 2010 version
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
BKrakowski,

If the following formula works correctly:
=SUM(IF($D$3:$D$193="AL",$C$3:$C$193,0))


Then, try changing the following formula:
=SUM(IF($D$3:$D$193="OH",$C$3:$C$193))

To this:
=SUM(IF($D$3:$D$193="OH",$C$3:$C$193,0))
 
Upvote 0
BKrakowski,

Thanks for the feedback.

You are very welcome. Glad I could help.

And, come back anytime.
 
Upvote 0

Forum statistics

Threads
1,223,108
Messages
6,170,147
Members
452,305
Latest member
hemal2172

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