tracking goals vs YTD using percentages

hkittycat

New Member
Joined
Sep 1, 2016
Messages
2
Hi all!

So I am trying to track goals vs ytd using percentages. At first I was using equation YTD/GOALS, however that was not working when either goals or ytd equaled to zero. Then I tried using =IF(G5=0,1,H5/G5), but it wasn't given me the correct results (on the 4th number on the graph it gave me 100%). Can anyone help me figure this out please.
Thank you.

Goals YTD Goal Tracking
$5,000,000.00 $3,067,818.75 61%
$6,000,000.00 $2,411,528.50 40%
$2,500,000.00 $1,244,864.68 50%
$0 $32,927.50 #DIV/0!
$200,000.00 $0 0%
$0 $0 #DIV/0!
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
I have tried that but it doesnt work, when my goal is 0 and YTD is a number. meaning we have beat our goal.
Thank you.
 
Upvote 0
If you divide any number by zero you get an error. What number did you want to show?

This puts 100% if you have a YTD value greater than zero and a Goal of zero
=IFERROR(IF(AND(B2<>0,A2=0),1,B2/A2),0)
 
Upvote 0

Forum statistics

Threads
1,215,762
Messages
6,126,740
Members
449,335
Latest member
Tanne

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