Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 709
Default How to find all fields with X value and show corresponding Y value

Hello there, thanks in advance. I am quite sure this is simple but cant
figure it out.

Ok, My G4:G135 fields all have employee names

My F4:F135 fields all have the payment amount for that job

Now, I have 20 employee's through all these fields.

I want to find a certain employee in G4:G135 and find all of his payments,
then add them up to produce the total.

While this doesnt work, it should explain what I am trying to do:

=IF(G4:G140,"Jackson"), SUM(F4:F140 "Jackson")

As you can see, I am not too cluey on this. Please let me know if you need
further info or screenshot

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How to find all fields with X value and show corresponding Y value


=sumproduct(($g$1:$g$5000="jackson")*($f$1:$f$5000 ))


--
robert111
------------------------------------------------------------------------
robert111's Profile: http://www.excelforum.com/member.php...o&userid=31996
View this thread: http://www.excelforum.com/showthread...hreadid=570713

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default How to find all fields with X value and show corresponding Y value

Hi Richard,

use sumif()

In ur case : =SUMIF(G4:G140,"Jackson",F4:F140)

"Richard" wrote:

Hello there, thanks in advance. I am quite sure this is simple but cant
figure it out.

Ok, My G4:G135 fields all have employee names

My F4:F135 fields all have the payment amount for that job

Now, I have 20 employee's through all these fields.

I want to find a certain employee in G4:G135 and find all of his payments,
then add them up to produce the total.

While this doesnt work, it should explain what I am trying to do:

=IF(G4:G140,"Jackson"), SUM(F4:F140 "Jackson")

As you can see, I am not too cluey on this. Please let me know if you need
further info or screenshot

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 709
Default How to find all fields with X value and show corresponding Y v

Excellent, worked perfectly. Thank you very much

"Arjuna" wrote:

Hi Richard,

use sumif()

In ur case : =SUMIF(G4:G140,"Jackson",F4:F140)

"Richard" wrote:

Hello there, thanks in advance. I am quite sure this is simple but cant
figure it out.

Ok, My G4:G135 fields all have employee names

My F4:F135 fields all have the payment amount for that job

Now, I have 20 employee's through all these fields.

I want to find a certain employee in G4:G135 and find all of his payments,
then add them up to produce the total.

While this doesnt work, it should explain what I am trying to do:

=IF(G4:G140,"Jackson"), SUM(F4:F140 "Jackson")

As you can see, I am not too cluey on this. Please let me know if you need
further info or screenshot

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default How to find all fields with X value and show corresponding Y value


Activate the cell where you want to show the result, and write

SUMIF(G:G,"Jackson",F:F)

--
~roar


Richard skrev:

Hello there, thanks in advance. I am quite sure this is simple but cant
figure it out.

Ok, My G4:G135 fields all have employee names

My F4:F135 fields all have the payment amount for that job

Now, I have 20 employee's through all these fields.

I want to find a certain employee in G4:G135 and find all of his payments,
then add them up to produce the total.

While this doesnt work, it should explain what I am trying to do:

=IF(G4:G140,"Jackson"), SUM(F4:F140 "Jackson")

As you can see, I am not too cluey on this. Please let me know if you need
further info or screenshot

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"