Is it possible to use a Sumif formula from information captured from a Vlookup??

Oakey

New Member
Joined
Jan 9, 2017
Messages
49
Office Version
  1. 365
Im trying to get a formula that will do a split between AM and PM by task (This is at the bottom of the page). Currently when i in put a emplyee number it will bring up there name. (Vlookup, this formula works). I can use the same formula to bring up the AM or PM shift, but his is where im getting stuck. If i Manually add in the AM or PM then i can get the formula to work, but im looking to know if i can use a formaula that would work using the information from a Vlookup result.

Is this some thing that is possible.

This is the formula that im currently using =SUMIF($D$3:$D$129,$D130,E$3:E$129). This will only work if the information is manually added into Column C (AM or PM)

I am trying to get away from having to manually add in information

1714402140672.png

1714401874830.png
 

Attachments

  • 1714401724091.png
    1714401724091.png
    31.9 KB · Views: 19

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
which version of excel are you using?
you can add this to your profile so anytime you make a post others will know

but yes it is possible
 
Upvote 0
Version
which version of excel are you using?
you can add this to your profile so anytime you make a post others will know

but yes it is possible
Version 2402, assuming its the latest version

What type of thing do i need to do to make it work the formula?
 
Upvote 0
Version 2402, assuming its the latest version

That is not quite what they meant. We suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’).
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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