Making a max value reset

Mlee107

New Member
Joined
Dec 10, 2016
Messages
3
Hi everyone!

My first time posting here as I seem to have hit a wall haha


I'm trying to get the number to reset. So If the number goes above 360 to get it to start counting from 1 again.

My current formula is:
=IF(SUM(D2)>=360,360,SUM(D2))+82.5

I am able to get the max number to 360 but it should be 82.5

For example if my value was 300+82.5 the outcome would be 22.5

Any help is greatly appreciated!
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
I'm struggling to make sense of your formula - why are you using SUM with a single cell?

For example if my value was 300+82.5 the outcome would be 22.5

How? Why? :confused:
 
Upvote 0
I'm struggling to make sense of your formula - why are you using SUM with a single cell?



How? Why? :confused:

You know I don't even know why I have SUM there haha.. I'm really new to Excel.

The reason for the max being 360 is that it's for (bearing / degrees). So if the number is greater than that I need it to reset back to zero as if it were a circle.
 
Upvote 0
OK - understood. Can you give us a selection of sample data? How does this look in your worksheet?
 
Upvote 0
... The reason for the max being 360 is that it's for (bearing / degrees). So if the number is greater than that I need it to reset back to zero as if it were a circle.
Is this what you need?

=MOD(D2+82.5,360)
 
Upvote 0
Ditto, but I still haven't a clue what you were trying to do! I'm glad Tetra201 understood ... :LOL:
 
Upvote 0
@AliGW:

First: What a nice hat!

Second: The '360' from Post #1 gave me some suspicions. The 'bearing / degrees' from Post #3 made everything clear.
 
Upvote 0

Forum statistics

Threads
1,214,594
Messages
6,120,436
Members
448,964
Latest member
Danni317

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