+ Reply to Thread
Results 1 to 2 of 2

Help with autofilling cells

  1. #1
    Registered User
    Join Date
    04-04-2010
    Location
    london
    MS-Off Ver
    Latest for the mac
    Posts
    20

    Help with autofilling cells

    Hi Guys,

    Thought i'd finished my timesheet project, but it seems not, I am in need of your expert advice once more please.

    If you see the attached file.

    Column H cells 10-40 contain codes I want to be able to auto fill the following, any help appreciated.

    Cell D43 i want to add the hours found in column G where the code in H starts with the single letter S

    Cell D45 i want to add the hours found in column G where the code in H starts with the single letter I

    Cell H42 i want to add the hours found in column G where the code in H starts with the TWO letters AL


    Not sure if that makes sense ?



    Regards
    Attached Files Attached Files

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Help with autofilling cells

    Try this

    In D43
    =SUMPRODUCT(--(LEFT(H10:H40,1)="S"),G10:G40)

    In D45
    =SUMPRODUCT(--(LEFT(H10:H40,1)="I"),G10:G40)

    In H42
    =SUMPRODUCT(--(LEFT(H10:H40,1)="I"),G10:G40)

    Hope this helps
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

+ 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