Excel 2022 - IF / VLOOKUP / TEXTBEFORE

Anonymous
2022-12-26T20:58:20+00:00

Hi all;

I have been going along well on a sheet, but I have hit a roadblock and I am hoping it is obvious to someone here.

What I have in the first line of each set, a line with everything I need. However to bring this into another software I need to take the parts in the outlying columns, make them into line numbers using the Work Order reference and the part number to draw those numbers down into the columns.

Looks easy so far right? Here is where it goes off the rails:
Note the line numbers to the left. Note how they jump. This is caused by how this sheet is assembled from 12 tabs with inbound information.

So going to column 5, the formula I have in there is:
=VLOOKUP(VALUE(TEXTBEFORE(J16,"-")),$M$4:$AM$10000,24,FALSE)

What I need to do is carry this and the formulas under it down to the next account block in column L. But cutting and pasting will now work in this case.

I tried using a multiple IF statement on Column L so as to make it a column formula. My thought was to add an IF statement for each of the 5 parts to see if it is in a column within the line... well that is where the wheels came off the school bus and I skidded down the street into the local Dairy Queen... figuratively speaking.

ALL though are appreciated!!!

https://learn-attachment.microsoft.com/api/attachments/be4c3b34-6a72-4b62-aea9-940e1714a9d4?platform=QnA

Microsoft 365 and Office | Excel | For business | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Ashish Mathur 102.6K Reputation points Volunteer Moderator
    2022-12-26T23:09:49+00:00

    Hi,

    Your question is not clear. Share the download link of the workbook and also the expected result.

    Was this answer helpful?

    0 comments No comments