LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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....

 
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
Copying Blocks of Cells [email protected] Excel Discussion (Misc queries) 1 March 4th 09 11:54 AM
SUMIFs for particular cells in blocks of data [email protected] Excel Worksheet Functions 2 August 22nd 08 11:42 PM
Parsing blocks of cells using VBA Gordon Filby Excel Programming 2 May 6th 07 12:58 PM
macro needed to copy blocks of cells across to list of cells down piersonpro Excel Programming 3 March 28th 07 12:51 PM
Compare blocks of cells Rominall Excel Programming 1 March 9th 07 03:20 PM


All times are GMT +1. The time now is 01:25 PM.

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"