Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions,microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default SUMIFs for particular cells in blocks of data

I have a database export file that includes multiple (1100+) blocks of
data in a standard format.

Per block, the format is:
-- The first column is a merged cell of 9 rows, with the unique
identifier for the data block.
-- The next five columns form a sub-block of data related to that
item in the first column.
-- This sub-block has a format of:
-- Row 1: Titles of the five columns in the sub-block.
-- Rows 2-8: data (column 1 contains the Titles/names for each
row).
-- Row 9: Totals for each column's worth of data.

I want to go through the whole export file (spreadsheet), summing
particular cells in Row 9,
based on the unique identifer in column 1.

Can I use VLOOKUP and SUMIF for this? (If so, how? If not, then how do
I find the blocks I
want to use for my calculation and then choose the correct cell in Row
9 for that block?)

I had thought of taking each row and separately copying it to form a
single row per unique
identifier, and then using VLOOKUP and SUMIF without the added fun of
navigating the sub-
block, but my preference is to not have this intermediate reformatting
step.

A related question: can I use PERCENTILE if I have such non-contiguous
blocks of data?

Any help/insights/commands/etc. would be greatly appreciated.

advTHANKSance....
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions,microsoft.public.excel.programming
external usenet poster
 
Posts: 622
Default SUMIFs for particular cells in blocks of data

I would turn your unique identifiers into Named Ranges specifying your
blocks of data. Then it should be easy to do what you want, although
you may need to use INDIRECT to create the references.
  #3   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 793
Default SUMIFs for particular cells in blocks of data

It would help to understand better if you can paste two blocks of data.

You may send the complete file if it does not contain confidential data.

" wrote:

I have a database export file that includes multiple (1100+) blocks of
data in a standard format.

Per block, the format is:
-- The first column is a merged cell of 9 rows, with the unique
identifier for the data block.
-- The next five columns form a sub-block of data related to that
item in the first column.
-- This sub-block has a format of:
-- Row 1: Titles of the five columns in the sub-block.
-- Rows 2-8: data (column 1 contains the Titles/names for each
row).
-- Row 9: Totals for each column's worth of data.

I want to go through the whole export file (spreadsheet), summing
particular cells in Row 9,
based on the unique identifer in column 1.

Can I use VLOOKUP and SUMIF for this? (If so, how? If not, then how do
I find the blocks I
want to use for my calculation and then choose the correct cell in Row
9 for that block?)

I had thought of taking each row and separately copying it to form a
single row per unique
identifier, and then using VLOOKUP and SUMIF without the added fun of
navigating the sub-
block, but my preference is to not have this intermediate reformatting
step.

A related question: can I use PERCENTILE if I have such non-contiguous
blocks of data?

Any help/insights/commands/etc. would be greatly appreciated.

advTHANKSance....

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
Stop selecting blocks of cells Legallisa - switching from WordPerfect New Users to Excel 2 June 10th 08 03:04 AM
Count Blocks of Data Brendan Excel Worksheet Functions 4 January 16th 08 10:08 PM
blocks of data repeating eween New Users to Excel 4 March 29th 07 06:58 PM
Copying blocks of cells but the sizes don't copy Puttystuff Excel Discussion (Misc queries) 1 January 5th 07 09:30 PM
how to split address blocks across multiple cells JoannaF Excel Worksheet Functions 13 May 2nd 06 12:19 PM


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