+ Reply to Thread
Results 1 to 7 of 7

Excel 2007 : Extracting and adding numbers

  1. #1
    Registered User
    Join Date
    03-09-2011
    Location
    Elmira, NY
    MS-Off Ver
    Excel 2007
    Posts
    3

    Extracting and adding numbers

    I am trying to create a spreadsheet where I have 7 days in a week and a W# or a R# among several different ones, but I just want to add up the numbers in the 7 boxes, but only for certain codes.

    Approved Codes: A-Absent, L-Late Ask, N-Accepted, Did Not Work As Agreed, O-Out of Department, R-Refused, S-Sick Leave, U-Union Rep, W-Worked


    I want it to charge under L-Late Ask, W-Worked and O-Out of Department

    so it would look like...


    Sun l mon l tues l wed l thur l fri l Sat l final worked
    w2 l r2 l r2 l w2 w1r1 l r2 l w2 l 7


    so it would add the Worked codes but not add other codes specified.
    I'm not the best at excel and I'd love for this to be a lot more managable and user friendly spread sheet.for my co-workers.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Extracting and adding numbers

    Hi Brian,

    See the attached. It is an example of what I think you are working toward. See if it gives you some ideas.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    03-09-2011
    Location
    Elmira, NY
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Extracting and adding numbers

    actually I am going to attatch a copy to give a more clear idea. it needs to look simple, be able to be printable in either a full or blank format so you could fill it out in pen or just enter the data directly into the spread sheet.
    Attached Files Attached Files

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Extracting and adding numbers

    Hey Brian,

    I must be dense, cuz I just don't get it. r2 means what? r5 means what?

  5. #5
    Registered User
    Join Date
    03-09-2011
    Location
    Elmira, NY
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Extracting and adding numbers

    Quote Originally Posted by MarvinP View Post
    Hey Brian,

    I must be dense, cuz I just don't get it. r2 means what? r5 means what?
    at the bottom of the sheet every letter repersents something. R - Refused overtime, W means Worked. ETC and the number is how many hours they refused/worked.

  6. #6
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Extracting and adding numbers

    Based solely on the example posted:

    Please Login or Register  to view this content.
    Note array entry requirement

    If you need to deal with decimal hours or hours >=10 let us know.

  7. #7
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Extracting and adding numbers

    OK Brian,

    Thanks for the "number of hours" as I was thinking number of times per day, so I was dense.
    Find the attached Pivot Table again. The dates can be filtered to Last Week or Last Month or any timeframe you desire. You can also collapse the detail or reverse Employee and Code to your liking.

    See if this pivot table does it for you.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1