LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jj jj is offline
external usenet poster
 
Posts: 3
Default sum column a if column b, c, d, and e are equal

one method
use two helper columns (E,F?)
in E1
=a1
in e2
=if(and(B1=B2,C1=C2,D1=D2),E1+A1,A1)<-----
in F1
=if(and(B1=B2,C1=C2,D1=D2),"",1)


copy E2 and paste to the end of your data

copy f1 and paste to the end of your data

select columns E and F
copy and paste special values
select column F and filter-autofilter
select blanks
select the visable cells and edit-delete rows
remove autofilter
select column E copy ans select Cell a1
paste spectial values

(It sounds more complicated than it is, but make sure you first try it on a
copy of your data)


(Me) YOU'VE DONE IT!!! AWESOME!!!


Kewl I can't Thank You enuf...
A few little tweaks and it worked!
this is how it worked for me.....


one method
use two helper columns (E,F?).......(changed because of there was a row "e")
in F1
=A1
in F2
=if(and(B1=B2,C1=C2,D1=D2,E1=E2),F1+A1,A2)<-----
in G1
=if(and(B1=B2,C1=C2,D1=D2,E1=E2),"",1)


copy F2 and paste to the end of your data

copy G1 and paste to the end of your data

select columns F and G
copy and paste special values
select column G and filter-autofilter
select blanks
select the visable cells and edit-delete rows (execpt the first row)
remove autofilter
select column F copy ans select Cell a1
paste spectial values


Wow, this crash course in EXCEL is still making my head spin.
many thanx,
mike




 
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
Need to sum a column if two cells in row are equal [email protected] Excel Worksheet Functions 1 September 24th 06 05:36 PM
first number in a column not equal to zero James Fullmer New Users to Excel 4 June 10th 06 07:36 AM
How do I get text to equal a number so I can sum a column? jimi Excel Discussion (Misc queries) 5 June 10th 06 01:43 AM
Count number of values equal to MAX of a column dauclair Excel Discussion (Misc queries) 1 May 30th 06 02:23 PM
How to make row height to exactly equal column width? ChessNut Excel Discussion (Misc queries) 4 September 21st 05 12:27 AM


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