Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
sseguine
 
Posts: n/a
Default how do i get a set of pieces from a given # with standard lengths

want to find the number of standard length pieces (47" or 59") from a given
nember in a cell ( example 149 1/2 = 2 @59" and 1 @ 31 1/2") and the length
of the non-standard length piece.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default how do i get a set of pieces from a given # with standard lengths

Try this:

B1: 59
C1: 47
D1: NonStandard

A2: 149.5
B2: =INT(A2/59)
C2: =INT(MOD(A2,59)/47)
D2: =MOD(MOD(A2,59),47)

Those formulas return:
B2: 2
C2: 0
D2: 31.5

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"sseguine" wrote:

want to find the number of standard length pieces (47" or 59") from a given
nember in a cell ( example 149 1/2 = 2 @59" and 1 @ 31 1/2") and the length
of the non-standard length piece.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Regression - Standard Error X Variable 1 Claude S Excel Worksheet Functions 2 November 19th 05 10:08 AM
feel that the STANDARD DEVIATION formula on Excel is incorrect !! Ganapati Hegde Excel Worksheet Functions 3 November 18th 05 04:09 PM
How to calculate 2 standard deviation? Li Excel Worksheet Functions 1 April 12th 05 09:44 PM
paste sequences of different lengths Catherine Excel Worksheet Functions 2 March 10th 05 02:15 PM
Standard Error Maral Excel Worksheet Functions 2 December 4th 04 06:45 PM


All times are GMT +1. The time now is 12:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"