Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tee tee is offline
external usenet poster
 
Posts: 20
Default separating data in columns

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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,355
Default separating data in columns

How about formulas like this

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

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

=if(a1120,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.

"Tee" wrote:

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

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tee tee is offline
external usenet poster
 
Posts: 20
Default separating data in columns

I will try all until I find the one that works. Thank you so much!

"Barb Reinhardt" wrote:

How about formulas like this

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

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

=if(a1120,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.

"Tee" wrote:

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

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
sorting 2 colums of numbers and incremening them down blk&wht Excel Discussion (Misc queries) 10 October 9th 06 10:12 PM
Merging two columns and keeping the data from both Stosh Excel Worksheet Functions 9 July 27th 06 06:48 PM
Sorting Data From One Column into Multiple Columns Justin Hoffmann Excel Worksheet Functions 2 July 12th 06 04:15 PM
MATCH UP DATA IN COLUMNS jickes Excel Worksheet Functions 2 March 2nd 06 01:14 AM
From several workbooks onto one excel worksheet steve Excel Discussion (Misc queries) 6 December 1st 05 08:03 AM


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