separating data in columns

G

Guest

Hello. I have a worksheet with several columns of information. What I need
help with are only two of the columns. One column lists the number of
vacation hours available for each employee of our company. The other column
is their rate of pay. Both columns have been formulated to multiply one by
the other and subtotaled.

Now, I need to create 3 more separate columns that will give a break down of
the various vacation hours such as.....0-80 hours in one column, 81-120 hours
in another and 121 hours and above in another column and grand total each
column. Hope this makes sense. I hope someone can help. Thanks
 
G

Guest

How about formulas like this

=if(and(A1>=0,A1<=80),A1,"")

=if(and(A1>=81,A1<=120),A1,"")

=if(a1>120,A1,"")

For the grand total, since you have non numerics, it's a bit tricker.

Let's say one column of data is in B2:B100, for this example

=SUM(IF(B2:B100>=81,IF(B2:B100<=120,B2:B100)))

Commit with CTRL SHIFT ENTER. That should put {} around the formula.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top