Adding Cells - Simple Formula

djorge

New Member
Joined
Dec 18, 2005
Messages
4
This should be simple for anyone who has any experience with excel formulas (I have none!).

I've got a spreadsheet that lists the dates in each payperiod. In each cell we will track whether time off is taken as PTO or Vacation and the number of hours. What I want is at the end of the pay period for the formula to tell me how many hours total for each group (PTO or Vacation). Here's what my sheet looks like:

12 13 14 15 16 19 20 21 22 23 Totals
Employee Name 8v 8p 8v 8v

So in the totals column, I want it to tell me how many total hours are shown for vacation and how many total hours are shown for pto. Obviously, the answer should be 24v and 8p, I just can't figure out how to get it there.

Any help would be appreciated! Merry Christmas!
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
What do you actually have in the cells?

Is it just the number or is it the number and v/p?
 
Upvote 0
Clarification of my previous post

Oops, I seen how it posted and want to make sure it makes sense.

Column A contains employee names. Columns B-End contain the dates within the payperiod. On the employee line, if an employee takes time off as PTO, the number of hours taken will be placed in the block corresponding to the date with either a "v" or "p" next to it.
 
Upvote 0
In the appropriate cell I have the number of hours used and either the letter v or the letter p.
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,551
Members
449,088
Latest member
davidcom

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top