excel question

So I have the spreadsheet that I have attached.

What I want to do is populate sheet "Orphans" from Sheet "RTM"  when a blank is found in Column T.

So lets look at row 18. column T is blank I want to copy that ID number to the cooresponding cell in the Orphaned Sheet.   So ID 1.1.17 (RTM) would relate to ID 1.1.1 (Orphaned"   I have manually done this as an example.  Is there a way to programitically do this?
Who is Participating?
Glenn RayConnect With a Mentor Excel VBA DeveloperCommented:
I need some clarification of your data:

1) Cell T18 isn't blank in your example (value = "ID"); was it supposed to be?
2) If a blank is found, you wish to see the full RTM ID (three levels) in Column D of the "Orphans" sheet.
3) What if more than one parent RTM ID is found, as in with Rows 31 & 33 of the RTM sheet; both assign to hierarchical level 1.3 AND only "1.3.3" is shown on the "Orphans" sheet.  Shouldn't that show 1.3.3 AND 1.3.5 next to it? Or, how else are multiple matches to be shown?
4) What is the purpose of the hidden columns E-H on the Orphans sheet?

I also noted that rows 92-95 correspond to ID 1.10; that was entered numerically on the Orphans sheet and would not properly match unless the value were converted to text.

Will monitor and try to continue to assist.  And yes, this could be done programmatically and fairly simply.

-Glenn Ray
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.