srizki
Well-known Member
- Joined
- Jan 14, 2003
- Messages
- 1,857
- Office Version
- 365
- Platform
- Windows
On one sheet I have wells names in column B, and Column “I” heading “Non Oh”, and column “J” heading, “Overhead.
On another sheet where I need the formula, I have wells names in column B, but each name is twice and column C I have “Non Oh” and “Overhead” for each well name, so on sheet one, I have horizontally and on sheet 2 I have vertically.
[TABLE="width: 677"]
<tbody>[TR]
[TD]WELL
[/TD]
[TD]RC
[/TD]
[TD]int
[/TD]
[TD]Interest %
[/TD]
[TD]TOTAL
[/TD]
[TD]OverHead
[/TD]
[TD]Regular
[/TD]
[TD]Non Oh
[/TD]
[TD]Overhead
[/TD]
[/TR]
[TR]
[TD]MELVIN 1 1
[/TD]
[TD]411042876
[/TD]
[TD]2.03528
[/TD]
[TD]0.0203528
[/TD]
[TD]309.23
[/TD]
[TD]0
[/TD]
[TD]309.23
[/TD]
[TD]6.29
[/TD]
[TD]0
[/TD]
[/TR]
[TR]
[TD]MCMAKIN 1 1
[/TD]
[TD]411042894
[/TD]
[TD]0.50882
[/TD]
[TD]0.0050882
[/TD]
[TD]10574.54
[/TD]
[TD]1844.66
[/TD]
[TD]8729.88
[/TD]
[TD]44.42
[/TD]
[TD]9.39
[/TD]
[/TR]
[TR]
[TD]CHURCH 1 1
[/TD]
[TD]411043528
[/TD]
[TD]1.59915
[/TD]
[TD]0.0159915
[/TD]
[TD]2403.89
[/TD]
[TD]1844.66
[/TD]
[TD]559.23
[/TD]
[TD]8.94
[/TD]
[TD]29.5
[/TD]
[/TR]
[TR]
[TD]BLUNDELL 1 1
[/TD]
[TD]411043413
[/TD]
[TD]1.59915
[/TD]
[TD]0.0159915
[/TD]
[TD]2411.01
[/TD]
[TD]1844.66
[/TD]
[TD]566.35
[/TD]
[TD]9.06
[/TD]
[TD]29.5
[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 592"]
<tbody>[TR]
[TD]MELVIN 1 1
[/TD]
[TD]Non Oh
[/TD]
[TD]411042876
[/TD]
[TD]88001610
[/TD]
[TD]2.03528
[/TD]
[TD]0.020353
[/TD]
[TD]WELL
[/TD]
[/TR]
[TR]
[TD]MELVIN 1 1
[/TD]
[TD]Revenue
[/TD]
[TD]411042876
[/TD]
[TD]13500100
[/TD]
[TD]2.03528
[/TD]
[TD]0.020353
[/TD]
[TD]#N/A
[/TD]
[/TR]
[TR]
[TD]MCMAKIN 1 1
[/TD]
[TD]Non Oh
[/TD]
[TD]411042894
[/TD]
[TD]88001610
[/TD]
[TD]0.50882
[/TD]
[TD]0.005088
[/TD]
[TD]MELVIN 1 1
[/TD]
[/TR]
[TR]
[TD]MCMAKIN 1 1
[/TD]
[TD]Overhead
[/TD]
[TD]411042894
[/TD]
[TD]88300110
[/TD]
[TD]0.50882
[/TD]
[TD]0.005088
[/TD]
[TD]411042876
[/TD]
[/TR]
[TR]
[TD]CHURCH 1 1
[/TD]
[TD]Non Oh
[/TD]
[TD]411043528
[/TD]
[TD]88001610
[/TD]
[TD]1.59915
[/TD]
[TD]0.015992
[/TD]
[TD]MCMAKIN 1 1
[/TD]
[/TR]
[TR]
[TD]CHURCH 1 1
[/TD]
[TD]Overhead
[/TD]
[TD]411043528
[/TD]
[TD]88300110
[/TD]
[TD]1.59915
[/TD]
[TD]0.015992
[/TD]
[TD]411042894
[/TD]
[/TR]
[TR]
[TD]BLUNDELL 1 1
[/TD]
[TD]Non Oh
[/TD]
[TD]411043413
[/TD]
[TD]88001610
[/TD]
[TD]1.59915
[/TD]
[TD]0.015992
[/TD]
[TD]CHURCH 1 1
[/TD]
[/TR]
[TR]
[TD]BLUNDELL 1 1
[/TD]
[TD]Overhead
[/TD]
[TD]411043413
[/TD]
[TD]88300110
[/TD]
[TD]1.59915
[/TD]
[TD]0.015992
[/TD]
[TD]411043528
[/TD]
[/TR]
</tbody>[/TABLE]
I want a formula that fill the column Well on sheet two based on sheet one.
So, the formula will see, if it is overhead of non overhead and populate the corresponding value.
I tried unsuccessfully, INDEX , MATCH, MATCH .
Thanks
On another sheet where I need the formula, I have wells names in column B, but each name is twice and column C I have “Non Oh” and “Overhead” for each well name, so on sheet one, I have horizontally and on sheet 2 I have vertically.
[TABLE="width: 677"]
<tbody>[TR]
[TD]WELL
[/TD]
[TD]RC
[/TD]
[TD]int
[/TD]
[TD]Interest %
[/TD]
[TD]TOTAL
[/TD]
[TD]OverHead
[/TD]
[TD]Regular
[/TD]
[TD]Non Oh
[/TD]
[TD]Overhead
[/TD]
[/TR]
[TR]
[TD]MELVIN 1 1
[/TD]
[TD]411042876
[/TD]
[TD]2.03528
[/TD]
[TD]0.0203528
[/TD]
[TD]309.23
[/TD]
[TD]0
[/TD]
[TD]309.23
[/TD]
[TD]6.29
[/TD]
[TD]0
[/TD]
[/TR]
[TR]
[TD]MCMAKIN 1 1
[/TD]
[TD]411042894
[/TD]
[TD]0.50882
[/TD]
[TD]0.0050882
[/TD]
[TD]10574.54
[/TD]
[TD]1844.66
[/TD]
[TD]8729.88
[/TD]
[TD]44.42
[/TD]
[TD]9.39
[/TD]
[/TR]
[TR]
[TD]CHURCH 1 1
[/TD]
[TD]411043528
[/TD]
[TD]1.59915
[/TD]
[TD]0.0159915
[/TD]
[TD]2403.89
[/TD]
[TD]1844.66
[/TD]
[TD]559.23
[/TD]
[TD]8.94
[/TD]
[TD]29.5
[/TD]
[/TR]
[TR]
[TD]BLUNDELL 1 1
[/TD]
[TD]411043413
[/TD]
[TD]1.59915
[/TD]
[TD]0.0159915
[/TD]
[TD]2411.01
[/TD]
[TD]1844.66
[/TD]
[TD]566.35
[/TD]
[TD]9.06
[/TD]
[TD]29.5
[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 592"]
<tbody>[TR]
[TD]MELVIN 1 1
[/TD]
[TD]Non Oh
[/TD]
[TD]411042876
[/TD]
[TD]88001610
[/TD]
[TD]2.03528
[/TD]
[TD]0.020353
[/TD]
[TD]WELL
[/TD]
[/TR]
[TR]
[TD]MELVIN 1 1
[/TD]
[TD]Revenue
[/TD]
[TD]411042876
[/TD]
[TD]13500100
[/TD]
[TD]2.03528
[/TD]
[TD]0.020353
[/TD]
[TD]#N/A
[/TD]
[/TR]
[TR]
[TD]MCMAKIN 1 1
[/TD]
[TD]Non Oh
[/TD]
[TD]411042894
[/TD]
[TD]88001610
[/TD]
[TD]0.50882
[/TD]
[TD]0.005088
[/TD]
[TD]MELVIN 1 1
[/TD]
[/TR]
[TR]
[TD]MCMAKIN 1 1
[/TD]
[TD]Overhead
[/TD]
[TD]411042894
[/TD]
[TD]88300110
[/TD]
[TD]0.50882
[/TD]
[TD]0.005088
[/TD]
[TD]411042876
[/TD]
[/TR]
[TR]
[TD]CHURCH 1 1
[/TD]
[TD]Non Oh
[/TD]
[TD]411043528
[/TD]
[TD]88001610
[/TD]
[TD]1.59915
[/TD]
[TD]0.015992
[/TD]
[TD]MCMAKIN 1 1
[/TD]
[/TR]
[TR]
[TD]CHURCH 1 1
[/TD]
[TD]Overhead
[/TD]
[TD]411043528
[/TD]
[TD]88300110
[/TD]
[TD]1.59915
[/TD]
[TD]0.015992
[/TD]
[TD]411042894
[/TD]
[/TR]
[TR]
[TD]BLUNDELL 1 1
[/TD]
[TD]Non Oh
[/TD]
[TD]411043413
[/TD]
[TD]88001610
[/TD]
[TD]1.59915
[/TD]
[TD]0.015992
[/TD]
[TD]CHURCH 1 1
[/TD]
[/TR]
[TR]
[TD]BLUNDELL 1 1
[/TD]
[TD]Overhead
[/TD]
[TD]411043413
[/TD]
[TD]88300110
[/TD]
[TD]1.59915
[/TD]
[TD]0.015992
[/TD]
[TD]411043528
[/TD]
[/TR]
</tbody>[/TABLE]
I want a formula that fill the column Well on sheet two based on sheet one.
So, the formula will see, if it is overhead of non overhead and populate the corresponding value.
I tried unsuccessfully, INDEX , MATCH, MATCH .
Thanks