Options for searching through data based on Name, and returning any and all values from a column

JST013

Board Regular
Joined
Mar 11, 2015
Messages
74
Hello mrExcel users!

I am JST013 and I am stumped...
DateOperator NameShiftMachine NumberMachine SpeedUp-TimeActual Goal Up time GoalProduced
3/2/2015Adriana Silva1stXX-01203207,6806,400
3/2/2015Andrew Gonzales1stXX-02203207,6806,400
3/2/2015Augustina Flores1stXX-03203207,6806,400
3/3/2015Adriana Silva1stXX-01201207,6802,400
3/3/2015Andrew Gonzales1stXX-02201207,6802,400
3/3/2015Augustina Flores1stXX-03201207,6802,400

<colgroup><col><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>



This is what I am currently dealing with..

Date, operator, shift, machine number, machine speed, up time , goal, uptime goal and produced are my columns..

If i wanted to make a formula to seach through column B (operators) and return a value found in any of the other columns, Up time for example, and sum the results...how could I do this?

so lets say my operator is Adriana Silva, and I want to know the total of her up-time...

How can I total just her uptime?

Thank you so much!
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
DateOperator NameShiftMachine NumberMachine SpeedUp-TimeActual GoalUp time GoalProduced
03/02/2015Adriana Silva1stXX-01203207,6806,400
03/02/2015Andrew Gonzales1stXX-02203207,6806,400
03/02/2015Augustina Flores1stXX-03203207,6806,400
03/03/2015Adriana Silva1stXX-01201207,6802,400
03/03/2015Andrew Gonzales1stXX-02201207,6802,400
03/03/2015Augustina Flores1stXX-03201207,6802,400
Up-time
Adriana Silva440
formula is
=SUMPRODUCT(($B$2:$B$7=B20)*(F2:F7))
name required is in b20

<colgroup><col><col><col span="5"><col><col span="2"></colgroup><tbody>
</tbody>
 
Upvote 0
Hi and welcome to the board.

Look at the SUMIF, SUMIFS, COUNTIF and COUNTIFS formula.

If your data set is in cells A1:I7 your question can be answered with =SUMIF($B$2:$B$7,"Adriana Silva",$F$2:$F$7) - ​Adriana Silva can be replaced with a cell reference.
 
Last edited:
Upvote 0
Thank you both! I tried both solutions and both worked perfectly!

I'm going to play with the SUMIF & COUNTIF options as well!

Thanks again
 
Upvote 0
Operator NameShiftMachine NumberMachine SpeedUp-TimeActual GoalUp time GoalProduced
Adriana Silva1stXX-043830014,59211,40012,000
Andrew Gonzales1stXX-012730010,3688,10012,000
Augustina Flores1stXX-012730010,3688,10012,000
Adriana Silva1stXX-043830014,59211,40012,000
Andrew Gonzales1stXX-012730010,3688,10012,000
Augustina Flores1stXX-012730010,3688,10012,000
Antonia Avalos1stXX-012730010,3688,10012,000
#N/A#VALUE!
#N/A#VALUE!
#N/A#VALUE!
#N/A#VALUE!

<tbody>
</tbody>


So another challenge I have run into...My table here is set up for data entry..but
I cannot look at my totals until I fully fill in my data entry table...is there a way to avoid this? The option I went with was the =SUMPRODUCT option...

I'm tracking the totals in a separate table that looks something like this...

Weekly TotalsOperator NameUp Time TotalTotal Actual GoalTotal Up Time GoalTotal Produced
1stAdriana Silva600#N/A#VALUE!24000
Andrew Gonzales600#N/A#VALUE!24000
Angelica Ortega0#N/A#VALUE!0

<tbody>
</tbody>

As you can see my values are not updating due to the table not being completely filled in... in the totals table column D formulas are as follows

=SUMPRODUCT((A2:A20=B40)*F2:F20)

and column E

=SUMPRODUCT((A2:A20=B40)*G2:G20)

what am i doing wrong? does all of this make sense?

Thank you again!
 
Last edited:
Upvote 0
Side Note: I tried the SUMIF( A2:A20, "Adriana Silva", F2:F20) and that one worked well, but I need to make the criteria a variable, as I'm not confident the operator column will always be the same

Thank yoU!
 
Upvote 0
Oh wow I figured it out I think...

instead of Adriana Silva, I used the cell #...haha which you already told me I could use! You guys are great!

Thanks again!
 
Upvote 0

Forum statistics

Threads
1,214,921
Messages
6,122,280
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top