×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

locating and gathering data from many sheet!
5

locating and gathering data from many sheet!

locating and gathering data from many sheet!

(OP)
This is a little complicated so, forgive me if this isnt 100% clear. Here is a diagram to help.

___H_____I_______J_________________

   3     5       A
   5     2       B
   5     5       B
   4     1       C
   2     5       B

In colum 'J' I have coding ('A', 'B' and 'C'), now say I wanted to find all the values in 'H' which were given code 'B' in 'J'.

I need to do this across 31 sheets in a book of over 100 sheets, all I want it to do, is locate all the B's and add up all the 'H' cells in their rows. and give me a total.

Do you follow me? It doesnt seem clear to me

Thanx
Will
Replies continue below

Recommended for you

RE: locating and gathering data from many sheet!

a couple of ideas strike me, but you will need to investigate and make the attempts yourself as i'm currently using a pc w/out xl.
regardless, you will only be able to sum the required data on a per sheet basis and not the workbook, unless you total it by entering an equation to sum the totals on each sheet (not complicated) - a summary sheet!
1) try the subtotal capabilities withing excel (likely not)
2) try using the filter (autofilter) capabilities of excel, or
3) try the sumif function within excel.
advise further of your progress!
good luck!
-pmover

RE: locating and gathering data from many sheet!

in column K1

=if(J1="B",H1,0)

copy K1 down through as many rows as you have.  At the bottom, sum them all up.

Do the same for each of the 31 sheets of interest.

Sum the sums for each of the 31 sheets of interest.

RE: locating and gathering data from many sheet!

Would a pivot table work?

RE: locating and gathering data from many sheet!

(OP)
MINTJULEP

Your idea is similar to the one I devised, which Im gonna use, I was lookig for a quicker answer. Im gonna simply do all the ifsums in hidden cells in each table then add them all up at the end. Its easy enough, just gonna take all day condsidering the size of the spreadsheet.

Thanx anyway,
Will

RE: locating and gathering data from many sheet!

2
pmover's 3rd suggestion should work quicker than yours:
=SUMIF(J:J,"B",H:H)

Cheers,
Joerd

Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.

RE: locating and gathering data from many sheet!

Use the DSUM function to come up with totals for each sheet to be displayed in the same relative location at each sheet. Then sum up the totals for each sheet.

At each sheet, if you have say (3) coding then you have to set up (3) Criteria Fields. Each field is one column wide x two rows high. The top cells say cells E5, E6, E7 would each contain the title cell of the J colums, say "Coding". The 2nd row, E6, E7, E8 will contain the specific coding, say A, D and C respectively. Then in the cells where you want the answer to appear for each criteria, (must be same relative location on all sheets), you put in the DSUM function.
DSUM(Database say H1:A6,Field or column no with leftmost column in the database being column 1,Criteria for example E5:E6 for coding A).
At a summary sheet, total up the totals of each sheet per Coding criteria.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login



News


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close