Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
CJ Cerezo
 
Posts: n/a
Default multiply by actual number in cell

I am using the following formula to obtain a whole number in cell H4:
=IF(C4+0,C4/62+0.5,0)

When I enter a quantity in C4, this then gives me the number of items as a
whole number that I need in I4. I then need to multiply H4 (the whole number,
not any fractional part) x 150 to get an amount in cell D4.

TIA - read below for more info if needed.

(If further explanation will help, C4 is the number of sheets of metal I'm
shipping. Each pallet can hold 61 sheets, so that determines the number of
pallets in H4. I must then multiply the weight of each pallet - 150 - times
the number of pallets. Therefore, fractions won't give me correct info. I
know I can ROUNDUP H4 and multiply x 150, but hope there's an actual formula
that will work as well.)
  #2   Report Post  
Bernard Liengme
 
Posts: n/a
Default

What is the purpose of add ing zero to C4?
Do you mean =IF(C40,C4/62+0.5,0)

If you what whole number, you could use =IF(C40, INT(C4/62 +0.5), 0)

Not sure what you mean by "actual formula". Why is the use of ROUNDUP not
OK?

--
Bernard Liengme
www.stfx.ca/people/bliengme
remove CAPS in email address


"CJ Cerezo" wrote in message
...
I am using the following formula to obtain a whole number in cell H4:
=IF(C4+0,C4/62+0.5,0)

When I enter a quantity in C4, this then gives me the number of items as a
whole number that I need in I4. I then need to multiply H4 (the whole
number,
not any fractional part) x 150 to get an amount in cell D4.

TIA - read below for more info if needed.

(If further explanation will help, C4 is the number of sheets of metal I'm
shipping. Each pallet can hold 61 sheets, so that determines the number of
pallets in H4. I must then multiply the weight of each pallet - 150 -
times
the number of pallets. Therefore, fractions won't give me correct info. I
know I can ROUNDUP H4 and multiply x 150, but hope there's an actual
formula
that will work as well.)



  #4   Report Post  
CJ Cerezo
 
Posts: n/a
Default

Thank you so much, Bernard! That formula did the trick. I was using a formula
given me by someone else (thus why I added the zero to C4. Not sure why
ROUNDUP wasn't working properly, but this solved my problem.

Many thanks for the quick response.

Cheryle

"Bernard Liengme" wrote:

What is the purpose of add ing zero to C4?
Do you mean =IF(C40,C4/62+0.5,0)

If you what whole number, you could use =IF(C40, INT(C4/62 +0.5), 0)

Not sure what you mean by "actual formula". Why is the use of ROUNDUP not
OK?

--
Bernard Liengme
www.stfx.ca/people/bliengme
remove CAPS in email address


"CJ Cerezo" wrote in message
...
I am using the following formula to obtain a whole number in cell H4:
=IF(C4+0,C4/62+0.5,0)

When I enter a quantity in C4, this then gives me the number of items as a
whole number that I need in I4. I then need to multiply H4 (the whole
number,
not any fractional part) x 150 to get an amount in cell D4.

TIA - read below for more info if needed.

(If further explanation will help, C4 is the number of sheets of metal I'm
shipping. Each pallet can hold 61 sheets, so that determines the number of
pallets in H4. I must then multiply the weight of each pallet - 150 -
times
the number of pallets. Therefore, fractions won't give me correct info. I
know I can ROUNDUP H4 and multiply x 150, but hope there's an actual
formula
that will work as well.)




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
I need to increase a number which is held in a cell by 1 Steve New Users to Excel 1 January 14th 05 12:07 PM
inserting data from a row to a cell, when the row number is specified by a formula in a cell [email protected] New Users to Excel 2 January 6th 05 07:18 AM
Display actual contents of cell xmasbob Excel Discussion (Misc queries) 1 December 6th 04 05:09 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM
returning a text cell based on a number cell Josh7777777 Excel Worksheet Functions 2 November 2nd 04 07:42 PM


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

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

About Us

"It's about Microsoft Excel"