Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
STK
 
Posts: n/a
Default Subtotaling on column with IF statement results

I created a spreadsheet with one column having an IF statement - it
calculates how much we should re-order per store based on what was sold.

I asked it to subtotal for each store - the formula appears in the cell, but
it does not calculate the subtotal. I tried saving the column as the values,
but it still does not subtotal. When I typed in the numbers, it DID
subtotal. What do I need to do so it will subtotal?

Thanks for your help.
--
STK
  #2   Report Post  
Dave O
 
Posts: n/a
Default

By any chance are you importing the data from another application?
Check out your numbers: does the cell contain an apostrophe and then
the number? This happens sometimes: if you are importing, and this is
the case, you may be able to adjust the output side of the other
application to avoid the apostrophe.

As a workaround for now, try this formula:
=--SUBSTITUTE(A1,"*","")

This should convert whatever is in your cell currently to a numeric
value. You can then copy the formula, and paste it as values over the
existing data.

  #3   Report Post  
STK
 
Posts: n/a
Default

Thanks, the substitution works. The initial spreadsheet was created in a
customer's database and we exported it to Excel. There is no apostrophe in
the cell. I created the IF statement in a macro and used it for the next
spreadsheet we received from the vendor.

"Dave O" wrote:

By any chance are you importing the data from another application?
Check out your numbers: does the cell contain an apostrophe and then
the number? This happens sometimes: if you are importing, and this is
the case, you may be able to adjust the output side of the other
application to avoid the apostrophe.

As a workaround for now, try this formula:
=--SUBSTITUTE(A1,"*","")

This should convert whatever is in your cell currently to a numeric
value. You can then copy the formula, and paste it as values over the
existing data.


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
pivot table results - with value in every row and column PivotMan Excel Discussion (Misc queries) 3 February 15th 05 08:27 PM
Subtotal results in new column and then sorting subtotals ArtM Excel Worksheet Functions 1 January 18th 05 12:21 AM
IF Statement with Average Function results in #Value! Paul Excel Discussion (Misc queries) 5 December 28th 04 08:11 AM
i am using an if statement to sum a row with a column and i'm off. twig Excel Worksheet Functions 1 November 23rd 04 10:07 PM
adding if statement results Robb27 Excel Worksheet Functions 3 November 20th 04 05:27 AM


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