Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default cell value functioning as whole number in formulas

Sirs,
I can format a calculated cell value to display as the nearest whole number.
But is it possible to have that rounded whole number value (not the cell's
calculated fractional value) become the value recognized and used when it is
a term in follow-on fomulas?

For example; if cell A5 represents the number of bolts needed to attach a
frame and the next calculation uses A5 as a multiplier with A6, which is the
unit price-per screw and the you want the total cost to automate as the
answer in cell A7, then cell A5 needs to be a whole number.

Is this possible? If so, what do I need to do.

I appreciate your help!
--
A. Stretcher
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default cell value functioning as whole number in formulas

Hi,

Try this

=ROUNDUP(A5,0)*A6

Mike

"Art Stretcher" wrote:

Sirs,
I can format a calculated cell value to display as the nearest whole number.
But is it possible to have that rounded whole number value (not the cell's
calculated fractional value) become the value recognized and used when it is
a term in follow-on fomulas?

For example; if cell A5 represents the number of bolts needed to attach a
frame and the next calculation uses A5 as a multiplier with A6, which is the
unit price-per screw and the you want the total cost to automate as the
answer in cell A7, then cell A5 needs to be a whole number.

Is this possible? If so, what do I need to do.

I appreciate your help!
--
A. Stretcher

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default cell value functioning as whole number in formulas

Thanks, Mike. Worked like a charm!

--
A. Stretcher


"Mike H" wrote:

Hi,

Try this

=ROUNDUP(A5,0)*A6

Mike

"Art Stretcher" wrote:

Sirs,
I can format a calculated cell value to display as the nearest whole number.
But is it possible to have that rounded whole number value (not the cell's
calculated fractional value) become the value recognized and used when it is
a term in follow-on fomulas?

For example; if cell A5 represents the number of bolts needed to attach a
frame and the next calculation uses A5 as a multiplier with A6, which is the
unit price-per screw and the you want the total cost to automate as the
answer in cell A7, then cell A5 needs to be a whole number.

Is this possible? If so, what do I need to do.

I appreciate your help!
--
A. Stretcher

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,934
Default cell value functioning as whole number in formulas

Since your calculated value in A5 represents the number of units of a real
world item, I would not think you would ever want that number rounded
downward... I would think (for your case) a fraction of a bolt should count
as a whole bolt. Formatting the cell value as a whole number will round
fractional values less than 0.5 downward. Instead of using cell formatting,
why don't you encase your calculation in A5 with the ROUNDUP function like
this...

C5: =ROUNDUP(<<your current formula goes here,0)

Now, your other formulas that reference C5 will see the rounded up number
(there will no longer be any fractional value to worry about) and so they
will calculate as you want them to.

--
Rick (MVP - Excel)


"Art Stretcher" wrote in message
...
Sirs,
I can format a calculated cell value to display as the nearest whole
number.
But is it possible to have that rounded whole number value (not the cell's
calculated fractional value) become the value recognized and used when it
is
a term in follow-on fomulas?

For example; if cell A5 represents the number of bolts needed to attach a
frame and the next calculation uses A5 as a multiplier with A6, which is
the
unit price-per screw and the you want the total cost to automate as the
answer in cell A7, then cell A5 needs to be a whole number.

Is this possible? If so, what do I need to do.

I appreciate your help!
--
A. Stretcher


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default cell value functioning as whole number in formulas

Very helpful, Rick. Thanks for the solution.
--
A. Stretcher


"Rick Rothstein" wrote:

Since your calculated value in A5 represents the number of units of a real
world item, I would not think you would ever want that number rounded
downward... I would think (for your case) a fraction of a bolt should count
as a whole bolt. Formatting the cell value as a whole number will round
fractional values less than 0.5 downward. Instead of using cell formatting,
why don't you encase your calculation in A5 with the ROUNDUP function like
this...

C5: =ROUNDUP(<<your current formula goes here,0)

Now, your other formulas that reference C5 will see the rounded up number
(there will no longer be any fractional value to worry about) and so they
will calculate as you want them to.

--
Rick (MVP - Excel)


"Art Stretcher" wrote in message
...
Sirs,
I can format a calculated cell value to display as the nearest whole
number.
But is it possible to have that rounded whole number value (not the cell's
calculated fractional value) become the value recognized and used when it
is
a term in follow-on fomulas?

For example; if cell A5 represents the number of bolts needed to attach a
frame and the next calculation uses A5 as a multiplier with A6, which is
the
unit price-per screw and the you want the total cost to automate as the
answer in cell A7, then cell A5 needs to be a whole number.

Is this possible? If so, what do I need to do.

I appreciate your help!
--
A. Stretcher





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
functioning of formulas Denise Excel Worksheet Functions 3 August 20th 09 02:18 PM
conditional formating not functioning in cell with formula? Excel Excel Discussion (Misc queries) 4 October 15th 08 10:50 PM
Why do my formulas quit functioning in Excel 2007? cyndiwise notsowise Excel Worksheet Functions 2 December 10th 07 01:04 PM
protected excel2003 document. Name Cell not functioning. theboyles1 Excel Worksheet Functions 0 November 7th 07 11:57 PM
use the number in one cell for different formulas RlR Excel Worksheet Functions 2 August 22nd 07 03:40 AM


All times are GMT +1. The time now is 04:49 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"