+ Reply to Thread
Results 1 to 4 of 4

Thread: Sumif?

  1. #1
    Registered User
    Join Date
    09-17-2011
    Location
    casablanca, paradise
    MS-Off Ver
    Excel 2003
    Posts
    2

    Sumif?

    I bother you with a problem which may seem very easy but not for me.
    Basically I have two columns. In the first one I have numbers corresponding to some buses and in the second one how much time they drive every day. I want to compute how much time each bus drives every week. Something like: "if in the first cell is the number x add the time from the second cell". So if a bus number appers three times in the first column I want to see the total time. I hope I made myself clear. Thank you in advance!
    Last edited by 78air; 09-18-2011 at 01:35 PM.

  2. #2
    Forum Guru Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    MS Excel 2010
    Posts
    2,247

    Re: Help needed!

    Simply use

    =SUMIF($A:$A,$A2,$B:$B)

  3. #3
    Forum Guru, retired Admin royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    25,639

    Re: Help needed!

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    PLEASE PM WHEN YOU HAVE DONE THIS AND I WILL DELETE THIS POST
    Hope that helps.

    RoyUK
    --------
    If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need

    For Excel Tips & Solutions, free examples and tutorials why not check out my downloads

    New members please read & follow the Forum Rules

    Remember to mark your questions Solved and rate the answer(s)

  4. #4
    Registered User
    Join Date
    09-17-2011
    Location
    casablanca, paradise
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Sumif?

    Thank you Bob. I'll try it tomorrow and let you know.

+ 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.2.0