Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Lisa
 
Posts: n/a
Default Muliplying a number by a blank cell

I'm trying to calculate an expense report. The mileage is 0.445 and is
located in cell E7. I need to be able to set a formula to multiply the
mileage by whatever number someone puts in the "Miles" column (Cell D8).
Sometimes there will be people with miles to add, and sometimes there won't
be. When I have tried to set this up, it always puts the total as 0.445. I
have used the function: =PRODUCT(E7,D8). When I leave cell D8 blank - it
always gives a total of 0.445
Does anyone know what to do?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bpeltzer
 
Posts: n/a
Default Muliplying a number by a blank cell

PRODUCT ignores blanks. Just try =e7*d8, which treats a blank cell as a 0.

"Lisa" wrote:

I'm trying to calculate an expense report. The mileage is 0.445 and is
located in cell E7. I need to be able to set a formula to multiply the
mileage by whatever number someone puts in the "Miles" column (Cell D8).
Sometimes there will be people with miles to add, and sometimes there won't
be. When I have tried to set this up, it always puts the total as 0.445. I
have used the function: =PRODUCT(E7,D8). When I leave cell D8 blank - it
always gives a total of 0.445
Does anyone know what to do?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ufo_pilot
 
Posts: n/a
Default Muliplying a number by a blank cell

=SUM(D8*E7)

"Lisa" wrote:

I'm trying to calculate an expense report. The mileage is 0.445 and is
located in cell E7. I need to be able to set a formula to multiply the
mileage by whatever number someone puts in the "Miles" column (Cell D8).
Sometimes there will be people with miles to add, and sometimes there won't
be. When I have tried to set this up, it always puts the total as 0.445. I
have used the function: =PRODUCT(E7,D8). When I leave cell D8 blank - it
always gives a total of 0.445
Does anyone know what to do?

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
BLANK cell TO A NUMBER kevin Excel Discussion (Misc queries) 1 January 2nd 06 03:20 PM
select cell based on a number in another cell [email protected] New Users to Excel 3 December 6th 05 09:44 PM
Return of blank cell if lookup fails TimM Excel Worksheet Functions 4 November 23rd 05 04:40 PM
Setting Purely BLANK Cell yokato95 Excel Worksheet Functions 4 August 18th 05 04:43 PM
Count Number of Characters in a cell? AHJuncti Excel Discussion (Misc queries) 2 June 16th 05 07:39 PM


All times are GMT +1. The time now is 02:27 AM.

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"