Formula to transpose data based on if other cells have a value

Tim_Excel_

Well-known Member
Joined
Jul 12, 2016
Messages
512
Hi forum,

I am trying to create a single column of machine numbers and repair intervals out of multiple columns. 3 columns (J, L and N) show whether a specific machine needs a 3-monthly, 6-monthly or yearly repair, or a combination of the three. In column A I want a list of all machine numbers which have been marked for repairs. If a machine is marked for 3 and/or 6 monthly repair, column A needs to contain the numbers from column G. However, if a machine is (also) marked for a yearly repair, then the numbers from column I (additionally) need to be in column A.

To clear it up:

[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]G[/TD]
[TD]I[/TD]
[TD]J[/TD]
[TD]L[/TD]
[TD]N[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Results[/TD]
[TD]03M/06M Codes[/TD]
[TD]12M codes[/TD]
[TD]03M[/TD]
[TD]06M[/TD]
[TD]12M[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]0700.01<strike></strike>[/TD]
[TD]0700.01[/TD]
[TD]0700.00[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]0700.01<strike></strike>[/TD]
[TD]0800.01[/TD]
[TD]0801.01[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]0800.01<strike></strike>[/TD]
[TD]0855.01[/TD]
[TD]0855.01.01[/TD]
[TD][/TD]
[TD][/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]0801.01<strike></strike>[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]0855.01<strike></strike>.01[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


I surely hope you can help me out, because it's day 3 of trying to solve this and it seems more and more impossible
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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