# Thread: Qty required to get to the next 100th Thanks: 0 Likes: 0

1. ## Qty required to get to the next 100th

Hello, I have a a big list of varying numbers and I need to calculate how many are needed to reach the next 100. eg

145 result needed would be 55 (next 100 is 200)
23 result needed would be 77 (next 100 is 100)
412 result needed would be 88 (need 100 is 500)

I've got around this by sorting and changing the figure required each time but as the list grows, this is a bit tiresome. Is there a formula that would do this easily?

Thanks   Reply With Quote

2. ## Re: Qty required to get to the next 100th

=CEILING(A1,100)-A1  Reply With Quote

3. ## Re: Qty required to get to the next 100th

Data Range
 A B C 1 145 =MOD(A1,100) =100-B1 2 23 =MOD(A2,100) =100-B2 3 412 =MOD(A3,100) =100-B3

or

Data Range
 A B 1 145 =100-MOD(A1,100) 2 23 =100-MOD(A2,100) 3 412 =100-MOD(A3,100)  Reply With Quote

4. ## Re: Qty required to get to the next 100th

Thank you so much. We all need more Fluff! brilliant!  Reply With Quote

5. ## Re: Qty required to get to the next 100th

You're welcome & thanks for the feedback  Reply With Quote

## User Tag List

#### Tags for this Thread

formula, list, needed, required, result #### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•