Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Compare, Match & Sum HELP

I am looking for a formula that will compare 3 or 4 columns in 2 different
excel workbooks and if a match is found, sum a different column for the
corresponding matched rows. Approximately 1500 rows would be checked.

I was able to do it using a combination of; "sum", "if" and "and" in my
formula, but the formula has to be repeated for each row and will only allow
the formula to be long enough to do 4 rows before the formula gets to be too
long for the cell.

--
gen_chang
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Compare, Match & Sum HELP

will only allow the formula to be long enough ..

Just a thought .. you could try simplifying the task by having everything
done in one book rather than across books (eg: copy/move the relevant sheets
from one book into the other, then formulate it there), and by using very
short, simple sheetnames for the sheets involved (rename as eg: a,b,c ... or
1,2,3). Both steps would immediately cut down formulas' length drastically.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Fredw" wrote:
I am looking for a formula that will compare 3 or 4 columns in 2 different
excel workbooks and if a match is found, sum a different column for the
corresponding matched rows. Approximately 1500 rows would be checked.

I was able to do it using a combination of; "sum", "if" and "and" in my
formula, but the formula has to be repeated for each row and will only allow
the formula to be long enough to do 4 rows before the formula gets to be too
long for the cell.

--
gen_chang

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Compare, Match & Sum HELP

While shortening the sheetnames would indeed decrease the invidual parts of
the formula, but at 1,500 lines, the formula will still to be too long for an
single cell. I am thinking "vlookup", "sumif" or something that would
encompass a "range" is the direction that I need to head.

Thank-you for the reply,
--
gen_chang


"Max" wrote:

will only allow the formula to be long enough ..


Just a thought .. you could try simplifying the task by having everything
done in one book rather than across books (eg: copy/move the relevant sheets
from one book into the other, then formulate it there), and by using very
short, simple sheetnames for the sheets involved (rename as eg: a,b,c ... or
1,2,3). Both steps would immediately cut down formulas' length drastically.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Fredw" wrote:
I am looking for a formula that will compare 3 or 4 columns in 2 different
excel workbooks and if a match is found, sum a different column for the
corresponding matched rows. Approximately 1500 rows would be checked.

I was able to do it using a combination of; "sum", "if" and "and" in my
formula, but the formula has to be repeated for each row and will only allow
the formula to be long enough to do 4 rows before the formula gets to be too
long for the cell.

--
gen_chang

  #4   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Compare, Match & Sum HELP

Try posting your top cell formula ..
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Fredw" wrote in message
...
While shortening the sheetnames would indeed decrease the invidual parts
of
the formula, but at 1,500 lines, the formula will still to be too long for
an
single cell. I am thinking "vlookup", "sumif" or something that would
encompass a "range" is the direction that I need to head.

Thank-you for the reply,
--
gen_chang



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
Compare Col A and Col M, if Match, Copy Col N to Col E ryguy7272 Excel Worksheet Functions 1 March 21st 08 04:57 PM
compare and match test LITTLE PETE Excel Worksheet Functions 1 November 9th 07 03:24 PM
How to match and compare two spreadsheets Brad Excel Worksheet Functions 1 June 28th 07 09:32 AM
compare & match text Susanne Excel Worksheet Functions 5 May 22nd 07 05:34 PM
Compare and Match Functions DP63 Excel Discussion (Misc queries) 1 June 20th 06 04:00 PM


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