Consulting the geniuses here! Formula to pull data into cell based off of other specific data.

IsItFriday

New Member
Joined
Dec 20, 2022
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Hello all,

I recently started a new job and have not had to use much excel in a while. I am completely rusty and feel like I have no idea what I am doing.

I'm building a template to help track hours and where the hours are being allocated to.
Not sure what formula to even be using, so after some online searching I've decided to ask you all!

Below is some sample data I have put together.

I am trying to pull data into the column labeled "Flagged for Error".
Specifically the Org_Code number is what I want pulled in but I only want it to pull in if incorrect.
I have a specific list of departments that should always start with a 1.
Pumper Route #12 being one of them.
I know I can create a new tab and have all the department name/descriptions in that tab but I am just completely lost on what formula to use.

Any help on this would be immensely appreciated!


EmployeeNumberLastNameFirstNameOrg_CodeOrg_DescFlagged for ErrorEarningCodeHoursAmountTotalSum of all Hours
125​
WhiteKira40016Finance
PTO​
13:30:00​
13.5​
13.5​
440​
BoydBilly40021Production Operations
OT​
5:00:00​
15​
15​
440​
BoydBilly40021Production Operations
Reg​
10:00:00​
10​
15​
282​
JohnsonJacob10019Production Ops/LOE
OT​
59:00:00​
59​
138​
282​
JohnsonJacob10019Production Ops/LOE
Reg​
79:00:00​
79​
138​
317​
SmithKelly40000Accounting
OT​
3:15:00​
3.25​
95.5​
317​
SmithKelly40000Accounting
Reg​
92:15:00​
92.25​
95.5​
394​
O'NealJason40021Production Operations
PTO​
13:00:00​
13​
13​
215​
WoodsScott40033Pumper Route #12
OT​
38:00:00​
38​
46​
215​
WoodsScott40033Pumper Route #12
Reg​
8:00:00​
8​
46​
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
I can't offer any help right now, but in you dataset provided, what would appear in column "Flagged for error"
 
Upvote 0
I can't offer any help right now, but in you dataset provided, what would appear in column "Flagged for error"
Specifically the Org_Code number is what I want pulled in but I only want it to pull in if incorrect.
 
Upvote 0
Can you post the samples that would appear in that column please ??
 
Upvote 0
Assuming your data starts in Column "A"
Try using
Excel Formula:
=IF(ISNUMBER(SEARCH("1",E2)),D2,"")
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,999
Members
452,373
Latest member
TimReeks

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