Index if

keiserj

Board Regular
Joined
May 31, 2013
Messages
89
Having trouble with this formula. In column A of Sheet1 i have a list of Log ID which show up either, MFG010318134515 or PURCH010318164059 which the numbers are time stamp and MFG or PURCH will be added via userform. What im trying to do is take all MFG Log ID and past into Sheet2 column a so that i can pull different data off of Log ID.

=IF(LEFT('Sheet1'!$A4,3) = "MFG", 'Sheet1'!$A4,"")

Works but has gaps in where PURCH shows up


Any help would be great!
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
TRY:
This is an array formula that must be entered with CTRL-SHIFT-ENTER.
Drag down column as needed.

Excel Workbook
A
1MFG010318134515
2MFG010318134516
3MFG010318134517
4MFG010318134520
Sheet2
Excel Workbook
A
1
2
3
4MFG010318134515
5MFG010318134516
6MFG010318134517
7PURCH010318164059
8PURCH010318164059
9MFG010318134520
Sheet1
 
Upvote 0
AhoyNc that worked great thank you!. I was really close but was using wrong reference. Thanks again!!
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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