Jump to content

Recommended Posts

Posted (edited)

Hi all,

I'm trying to do a function within Excel. I don't know if it's possible, buut...

I have attatched a JPG screenshot of a sample excel sheet. If you would like to download the actual excel sheet, click HERE.

In the "Pages" column, I want a function that calculates, basically, the number of pages that the user has printed. This will mean searching for each instance of the user's name under column A, and then adding the respective page count from the "Pages" column ©.

In this example A, the function should see that there is user A in line 5, 8, 12, 17, 25, and 27. It should add the respective values of 12, 65, 21, 232, 23, and 5. The value appearing in the "Pages" box under "Totals" should then be 358 (All of those page totals together). This should be one function under that cell (L4)

Does this make sense? Is it possible?

Thanks,

Arby.

EDIT: Nevermind, I got a reply at another forum.

In case anyone in interested, the solution:

Hi,

In L4 =SUMIF($A$5:$A$27,"="&J4,$C$5:$C$27)

or more simply

=SUMIF($A$5:$A$27,"=A",$C$5:$C$27)

post-141208-1180537335_thumb.jpg

Edited by Arbital24

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...