Column to Rows Question

Dastnai

New Member
Joined
Oct 26, 2018
Messages
45
Hi Everyone,

I am looking to move columns to one row. The one row will contain 20/40,30/50,40/70,100M. Is there a quick way to do this? I have roughly 95 columns and multiple formulas in the table. Listed below is an example of my current table:

BP#SiteBasin20/40 Avg LT30/50 Avg LT40/70 Avg LT100M Avg LT20/40 Replenish LT30/50 Replenish LT40/70 Replenish LT100M Replenish LT20/40 Min LT30/50 Min LT40/70 Min LT100M Min LT20/40 Demand Avg Per Day (Hist)30/50 Demand Avg Per Day (Hist)40/70 Demand Avg Per Day (Hist)100M Demand Avg Per Day (Hist)
9701CIG-Von OrmyEAG1715151717151617101010100370950
9704CIG-LovingPRM17151517171716177722022727331
9705CIG-LubbockPRM1715151722151619101022225060
9708Granite Peak-Rock SpringsNIO17151517171515171010101006270
9711Equalizer-VictoriaEAG3030303030303030101010100088346
9713Maalt-EnidMID171515317151813101010100309104151
9717Transflo-FairmontMAR1715151718151517777521212280528
9720MRIE-McKees RocksMAR171515171816161710102284389585149
9727MRIE-HannibalMAR171520201716202010102204453550

<colgroup><col><col><col><col span="16"></colgroup><tbody>
</tbody>


This is the outcome I am looking for:

BP#SiteBasinGradeMaxMinInv
9701CIG-Von OrmyEAG20/40000
9701CIG-Von OrmyEAG30/501788907
9701CIG-Von OrmyEAG40/7014019109510206
9701CIG-Von OrmyEAG100M2930011163

<colgroup><col><col span="2"><col span="3"><col></colgroup><tbody>
</tbody>
9704CIG-LovingPRM20/4057500
9704CIG-LovingPRM30/50668312135105
9704CIG-LovingPRM40/70139598056814
9704CIG-LovingPRM100M168906

<colgroup><col><col span="2"><col span="3"><col></colgroup><tbody>
</tbody>


Thanks for the help!
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
I'm looking at your data sheets and cannot determine where your results for Max, Min and Inv are in your data source. Please clarify as I have misplaced my crystal ball.
 
Upvote 0
Hi Everyone,

I am looking to move columns to one row. The one row will contain 20/40,30/50,40/70,100M. Is there a quick way to do this? I have roughly 95 columns and multiple formulas in the table. Listed below is an example of my current table:

BP#SiteBasin20/40 Max30/50 Max40/70 Max100M Max20/40
INV
30/50 Inv40/70 Inv100M Inv20/40 Min 30/50 Min 40/70 Min 100M Min 20/40 Demand Avg Per Day (Hist)30/50 Demand Avg Per Day (Hist)40/70 Demand Avg Per Day (Hist)100M Demand Avg Per Day (Hist)
9701CIG-Von OrmyEAG1715151717151617101010100370950
9704CIG-LovingPRM17151517171716177722022727331
9705CIG-LubbockPRM1715151722151619101022225060
9708Granite Peak-Rock SpringsNIO17151517171515171010101006270
9711Equalizer-VictoriaEAG3030303030303030101010100088346
9713Maalt-EnidMID171515317151813101010100309104151
9717Transflo-FairmontMAR1715151718151517777521212280528
9720MRIE-McKees RocksMAR171515171816161710102284389585149
9727MRIE-HannibalMAR171520201716202010102204453550

<tbody>
</tbody>


This is the outcome I am looking for:

BP#SiteBasinGradeMaxMinInv
9701CIG-Von OrmyEAG20/40000
9701CIG-Von OrmyEAG30/501788907
9701CIG-Von OrmyEAG40/7014019109510206
9701CIG-Von OrmyEAG100M2930011163

<tbody>
</tbody>
9704CIG-LovingPRM20/4057500
9704CIG-LovingPRM30/50668312135105
9704CIG-LovingPRM40/70139598056814
9704CIG-LovingPRM100M168906

<tbody>
</tbody>
 
Upvote 0
Sorry, I was just using the outcome desired to represent what I am looking for. Not the actual names. Essentially, I want 20/40, 30/50, 40/70, 100M under one row and Min,Max,Inv, ect. as columns.
 
Upvote 0
Suggest you post a realistic example of what you have and the expected outcomes that come from that data source. Otherwise, how will we know if we are actually pulling the correct data columns. I understand what you want, what I need is a map that tells me which data goes where and this needs to be explicit as there is no generic formula, PQ or VBA for this to happen. It needs to be designed.
 
Upvote 0
Current:
BP#SiteBasin20/40 Max30/50 Max40/70 Max100M Max20/40 Min30/50 Min40/70 Min100M Min20/40 Inv30/50 Inv40/70 Inv100M Inv
9701CIG-Von OrmyEAG171515171715161710101010
9704CIG-LovingPRM17151517171716177722
9705CIG-LubbockPRM1715151722151619101022
9708Granite Peak-Rock SpringsNIO171515171715151710101010
9711Equalizer-VictoriaEAG303030303030303010101010
9713Maalt-EnidMID17151531715181310101010

<tbody>
</tbody>



Desired outcome:


BP#SiteBasinGradeMaxMinInvROP
9701CIG-Von OrmyEAG20/400000
9701CIG-Von OrmyEAG30/5017889070
9701CIG-Von OrmyEAG40/70140191095102062519
9701CIG-Von OrmyEAG100M29300111630

<tbody>
</tbody>

.
.
.
.
.
.
.
.
 
Upvote 0
You have repeated the same outcome 3 times. Let me be more specific. If you look at your out come for CIG-Von Ormy 20/40, In the Max column you have zero, but in your raw data, there is no zero. How do I get the zero. Your output bears no resemblance to your raw data. How am I to write a solution with unrealistic data. In your output you have an ROP field, yet in the raw data there is no ROP. If you are unwilling to provide a realistic example, I have no choice but to tell you I can no longer help.

It does no good to us that you have provided the same results 3 times when asked to clarify. Good bye an good luck. I am unsubscribing from this thread.
 
Upvote 0
This isn't a formula related question. Disregard the actual numbers or just consider them as X's. It is a formatting question. Thanks though.
 
Upvote 0
something like this?

BP#SiteBasinGradeMaxMinInvROP
9701​
CIG-Von OrmyEAG20/40 Max
17​
10​
12​
169​
9701​
CIG-Von OrmyEAG30/50 Max
17​
10​
12​
169​
9701​
CIG-Von OrmyEAG40/70 Max
17​
10​
12​
169​
9701​
CIG-Von OrmyEAG100M Max
17​
10​
12​
169​
9701​
CIG-Von OrmyEAG20/40 Min
17​
10​
12​
169​
9701​
CIG-Von OrmyEAG30/50 Min
17​
10​
12​
169​
9701​
CIG-Von OrmyEAG40/70 Min
17​
10​
12​
169​
9701​
CIG-Von OrmyEAG100M Min
17​
10​
12​
169​
9701​
CIG-Von OrmyEAG20/40 Inv
17​
10​
12​
169​
9701​
CIG-Von OrmyEAG30/50 Inv
17​
10​
12​
169​
9701​
CIG-Von OrmyEAG40/70 Inv
17​
10​
12​
169​
9701​
CIG-Von OrmyEAG100M Inv
17​
10​
12​
169​
9704​
CIG-LovingPRM20/40 Max
17​
2​
12​
149​
9704​
CIG-LovingPRM30/50 Max
17​
2​
12​
149​
9704​
CIG-LovingPRM40/70 Max
17​
2​
12​
149​
9704​
CIG-LovingPRM100M Max
17​
2​
12​
149​
9704​
CIG-LovingPRM20/40 Min
17​
2​
12​
149​
9704​
CIG-LovingPRM30/50 Min
17​
2​
12​
149​
9704​
CIG-LovingPRM40/70 Min
17​
2​
12​
149​
9704​
CIG-LovingPRM100M Min
17​
2​
12​
149​
9704​
CIG-LovingPRM20/40 Inv
17​
2​
12​
149​
9704​
CIG-LovingPRM30/50 Inv
17​
2​
12​
149​
9704​
CIG-LovingPRM40/70 Inv
17​
2​
12​
149​
9704​
CIG-LovingPRM100M Inv
17​
2​
12​
149​
9705​
CIG-LubbockPRM20/40 Max
22​
2​
12​
160​
9705​
CIG-LubbockPRM30/50 Max
22​
2​
12​
160​
9705​
CIG-LubbockPRM40/70 Max
22​
2​
12​
160​
9705​
CIG-LubbockPRM100M Max
22​
2​
12​
160​
9705​
CIG-LubbockPRM20/40 Min
22​
2​
12​
160​
9705​
CIG-LubbockPRM30/50 Min
22​
2​
12​
160​
9705​
CIG-LubbockPRM40/70 Min
22​
2​
12​
160​
9705​
CIG-LubbockPRM100M Min
22​
2​
12​
160​
9705​
CIG-LubbockPRM20/40 Inv
22​
2​
12​
160​
9705​
CIG-LubbockPRM30/50 Inv
22​
2​
12​
160​
9705​
CIG-LubbockPRM40/70 Inv
22​
2​
12​
160​
9705​
CIG-LubbockPRM100M Inv
22​
2​
12​
160​
9708​
Granite Peak-Rock SpringsNIO20/40 Max
17​
10​
12​
168​
9708​
Granite Peak-Rock SpringsNIO30/50 Max
17​
10​
12​
168​
9708​
Granite Peak-Rock SpringsNIO40/70 Max
17​
10​
12​
168​
9708​
Granite Peak-Rock SpringsNIO100M Max
17​
10​
12​
168​
9708​
Granite Peak-Rock SpringsNIO20/40 Min
17​
10​
12​
168​
9708​
Granite Peak-Rock SpringsNIO30/50 Min
17​
10​
12​
168​
9708​
Granite Peak-Rock SpringsNIO40/70 Min
17​
10​
12​
168​
9708​
Granite Peak-Rock SpringsNIO100M Min
17​
10​
12​
168​
9708​
Granite Peak-Rock SpringsNIO20/40 Inv
17​
10​
12​
168​
9708​
Granite Peak-Rock SpringsNIO30/50 Inv
17​
10​
12​
168​
9708​
Granite Peak-Rock SpringsNIO40/70 Inv
17​
10​
12​
168​
9708​
Granite Peak-Rock SpringsNIO100M Inv
17​
10​
12​
168​
9711​
Equalizer-VictoriaEAG20/40 Max
30​
10​
12​
280​
9711​
Equalizer-VictoriaEAG30/50 Max
30​
10​
12​
280​
9711​
Equalizer-VictoriaEAG40/70 Max
30​
10​
12​
280​
9711​
Equalizer-VictoriaEAG100M Max
30​
10​
12​
280​
9711​
Equalizer-VictoriaEAG20/40 Min
30​
10​
12​
280​
9711​
Equalizer-VictoriaEAG30/50 Min
30​
10​
12​
280​
9711​
Equalizer-VictoriaEAG40/70 Min
30​
10​
12​
280​
9711​
Equalizer-VictoriaEAG100M Min
30​
10​
12​
280​
9711​
Equalizer-VictoriaEAG20/40 Inv
30​
10​
12​
280​
9711​
Equalizer-VictoriaEAG30/50 Inv
30​
10​
12​
280​
9711​
Equalizer-VictoriaEAG40/70 Inv
30​
10​
12​
280​
9711​
Equalizer-VictoriaEAG100M Inv
30​
10​
12​
280​
9713​
Maalt-EnidMID20/40 Max
18​
3​
12​
153​
9713​
Maalt-EnidMID30/50 Max
18​
3​
12​
153​
9713​
Maalt-EnidMID40/70 Max
18​
3​
12​
153​
9713​
Maalt-EnidMID100M Max
18​
3​
12​
153​
9713​
Maalt-EnidMID20/40 Min
18​
3​
12​
153​
9713​
Maalt-EnidMID30/50 Min
18​
3​
12​
153​
9713​
Maalt-EnidMID40/70 Min
18​
3​
12​
153​
9713​
Maalt-EnidMID100M Min
18​
3​
12​
153​
9713​
Maalt-EnidMID20/40 Inv
18​
3​
12​
153​
9713​
Maalt-EnidMID30/50 Inv
18​
3​
12​
153​
9713​
Maalt-EnidMID40/70 Inv
18​
3​
12​
153​
9713​
Maalt-EnidMID100M Inv
18​
3​
12​
153​
 
Upvote 0

Forum statistics

Threads
1,214,932
Messages
6,122,331
Members
449,077
Latest member
jmsotelo

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