Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Default How to summarize copied data

Hi,

I am using Excel 2010 and have the following problem with summarizing data.

I am creating an order form in Excel, where I have different products listed on 7 different sheets.

I need to create an order summary on a seperate sheet – so whenever a customer chooses/orders a number of products in some of the 7 product sheets, this value including product name etc should be copied to summary sheet and be updated automatically.

I have managed to create simple formulas that copy all this data to one sheet, but these then also copy all the empty rows where nothing is ordered. I still need to be able to summarize this, so the empty rows are removed on the summary.

I have tried the below formula:


=IF(ISERROR(SMALL(IF(A1:A700<"",ROW(A1:A700)),ROW ())),"",INDEX(A:A,MATCH(SMALL(IF(A1:A700<"",ROW(A 1:A700)),ROW()),IF(A1:A700 <"",ROW(A1:A700)),0)))

And it works if data that you need to summarize is inserted manually and other cells are really empty. Then you get your summary with empty rows removed. But in my case, all the cells contain formulas which copy values from the other sheets, so they are not empty although the result of the formula leaves the cell blank when no value is chosen order sheets.

Is there a different formula I should use that would work with cells that contain a formula, but return no value?

Thanks !!!!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,522
Default How to summarize copied data

On Friday, March 2, 2012 3:35:24 AM UTC-6, bg12 wrote:
Hi,

I am using Excel 2010 and have the following problem with summarizing
data.

I am creating an order form in Excel, where I have different products
listed on 7 different sheets.

I need to create an order summary on a seperate sheet – so whenever a
customer chooses/orders a number of products in some of the 7 product
sheets, this value including product name etc should be copied to
summary sheet and be updated automatically.

I have managed to create simple formulas that copy all this data to one
sheet, but these then also copy all the empty rows where nothing is
ordered. I still need to be able to summarize this, so the empty rows
are removed on the summary.

I have tried the below formula:


=IF(ISERROR(SMALL(IF(A1:A700<"",ROW(A1:A700)),ROW
())),"",INDEX(A:A,MATCH(SMALL(IF(A1:A700<"",ROW(A 1:A700)),ROW()),IF(A1:A700
<"",ROW(A1:A700)),0)))

And it works if data that you need to summarize is inserted manually and
other cells are really empty. Then you get your summary with empty rows
removed. But in my case, all the cells contain formulas which copy
values from the other sheets, so they are not empty although the result
of the formula leaves the cell blank when no value is chosen order
sheets.

Is there a different formula I should use that would work with cells
that contain a formula, but return no value?

Thanks !!!!




--
bg12


I suggest using a macro. Send your file to dguillett1 @gmail.com with a complete explanation and examples.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,514
Default How to summarize copied data

bg12 brought next idea :
Hi,

I am using Excel 2010 and have the following problem with summarizing
data.

I am creating an order form in Excel, where I have different products
listed on 7 different sheets.

I need to create an order summary on a seperate sheet €“ so whenever a
customer chooses/orders a number of products in some of the 7 product
sheets, this value including product name etc should be copied to
summary sheet and be updated automatically.

I have managed to create simple formulas that copy all this data to one
sheet, but these then also copy all the empty rows where nothing is
ordered. I still need to be able to summarize this, so the empty rows
are removed on the summary.

I have tried the below formula:


=IF(ISERROR(SMALL(IF(A1:A700<"",ROW(A1:A700)),ROW
())),"",INDEX(A:A,MATCH(SMALL(IF(A1:A700<"",ROW(A 1:A700)),ROW()),IF(A1:A700
<"",ROW(A1:A700)),0)))

And it works if data that you need to summarize is inserted manually and
other cells are really empty. Then you get your summary with empty rows
removed. But in my case, all the cells contain formulas which copy
values from the other sheets, so they are not empty although the result
of the formula leaves the cell blank when no value is chosen order
sheets.

Is there a different formula I should use that would work with cells
that contain a formula, but return no value?

Thanks !!!!


How I do this is by having a 'master' product sheet and using VLOOKUP
in the order details columns to fetch the billing info for the product
ID entered in the 'Item' column. Depending on your preference, the
product 'Items' can be listed in a Data Validation dropdown.

--
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion


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
Summarize data Chris Excel Discussion (Misc queries) 1 April 28th 09 09:24 PM
Looking for a way to summarize data? Rich Excel Worksheet Functions 0 September 19th 06 06:05 PM
Summarize Data kgsggilbert Excel Discussion (Misc queries) 1 June 8th 05 09:41 PM
Summarize data blstone New Users to Excel 1 May 11th 05 10:18 PM
Summarize Data Set Jim Excel Worksheet Functions 6 April 7th 05 03:46 PM


All times are GMT +1. The time now is 04:36 AM.

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"