ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Creating a formula (https://www.excelbanter.com/excel-worksheet-functions/160623-creating-formula.html)

TckyTina

Creating a formula
 
I want to build a formula for a newspaper company. Their bundle size is 25
papers per bundle and deliveries might have 3 bundles + 3 loose newspapers.
How do I create a formula to show this? They want to use this for people who
are getting bundles ready for delivery - but do not want to use a decimal
system. Please let me know any ideas.

Roger Govier[_3_]

Creating a formula
 
Hi Tina

Try
=INT(A1/25)&" - "&MOD(A1,25)
where A1 holds the number of newspapers required.

You can make the separator whatever you wish.
The above sets the results as 3 - 3
--
Regards
Roger Govier



"TckyTina" wrote in message
...
I want to build a formula for a newspaper company. Their bundle size is 25
papers per bundle and deliveries might have 3 bundles + 3 loose
newspapers.
How do I create a formula to show this? They want to use this for people
who
are getting bundles ready for delivery - but do not want to use a decimal
system. Please let me know any ideas.




JE McGimpsey

Creating a formula
 
One way:

If A1 has the number of papers:

Bundles:

A2: =INT(A1/25)

Loose Papers:

A3: =A1-A2

or, in one cell:

=INT(A1/25) & " bundles + " & MOD(A1,25) & " loose"

In article ,
TckyTina wrote:

I want to build a formula for a newspaper company. Their bundle size is 25
papers per bundle and deliveries might have 3 bundles + 3 loose newspapers.
How do I create a formula to show this? They want to use this for people who
are getting bundles ready for delivery - but do not want to use a decimal
system. Please let me know any ideas.


Ron Coderre

Creating a formula
 
With this table in cells A1:B2
BundleSize____25
Extras________3

Try something like this:

A4: Needed
B4: (route delivery count)

A5: Stock Amount

This formula returns the number of bundles and loose papers to stock:
B5: =INT((B4+B2)/B1)&" BUNDLES AND "&MOD(B4+B2,B1)&" LOOSE"

Example:
B4: 76
B5 returns: 3 BUNDLES AND 4 LOOSE

Is that something you can work with?
--------------------------

Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)

"TckyTina" wrote in message
...
I want to build a formula for a newspaper company. Their bundle size is 25
papers per bundle and deliveries might have 3 bundles + 3 loose
newspapers.
How do I create a formula to show this? They want to use this for people
who
are getting bundles ready for delivery - but do not want to use a decimal
system. Please let me know any ideas.





All times are GMT +1. The time now is 07:06 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com