Display data value from a corresponding column

NeoTrader

New Member
Joined
Jul 15, 2020
Messages
9
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
  3. Web
Hi there Excel Tutors and Gurus

I hope I explain this well enough that you can help.

I have a simple data sheet produced by an MT4 trading platform (Snippet below)

The data sheet
Two columns = pair
There are 28 pairs in total (Row)
The 'setting' range is from 1 to 100 (as a column of data)
Each pair will have the number range 1 to 100
The 'setting' has produced a respective 'value' which varies (negative to positive) from pair to pair

The aim
To compare the 'settings' and corresponding 'values' of each pair 1, pair 2, pair 3 etc to ascertain which setting produces the best value (positive number)
This may be a single number or more likely a small range of 'settings' that produce the better 'value' / result

Background
I have done some draft calculations but this is hugely time consuming so I need a way to manipulate the data to either produce a simple output
I have played around with charts - that didn't go as well as desired.
I have run some basic 'IF' functions, but I am not getting the 'IF' function to perform through the whole column of data!

Solution
If there is a easy way of manipulating the data.
Once I see a formula I tend to get the workings - as a newbie, I have a lot to learn
Any guidance, assistance or answers are much appreciated.

Data Sheet
1AUDCAD2AUDCHF3AUDJPY4AUDNZD5AUDUSD6
ValueSettingValueSettingValueSettingValueSettingValueSettingValue
-2577.08644198.95316053.2451963.34506000456615.57
-2943.27933673.19344656.7149643.56405500475250.61
-3311.13952098.86354655.8552475.64174500485041.62
-3311.14892098.6933465555321.78804500444281.88
-3311.1594524.55394654.9956318.78534000573992.56
-3311.5791524.37414190.0654318.78434000463673.32
-3313.0765524.37404189.659222.47154000433231.92
-3661.8823-0.71303724.6953156.86203500533231.91
-3662.5321-1.05323723.79605903000583231.91
-3679.0296-525.41383723.36664933000562707.03
-3679.2487-525.57663259.75503943000512707.03
-3679.4690-525.59423259.74482963000492707.02
-3679.6586-525.74653258.4457-1413000422416.68
-3680.7573-525.95373257.9961-1383000392181.97
-3680.7568-1050.48453257.5665-3522500552181.96
-4046.997-1050.83293257.5664-4442000592181.79


Data output idea ?
1234567
AUDCADAUDCHFAUDJPYAUDNZDAUDUSDCADCHFCADJPY
1-
2-
3-
4-
5-
6-
7-
8-
9-
10-
11-
12-
13-
14-
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Two Queries
1. Can setting No be duplicates. If there can be duplicates how to deal with it. Should i show large positive value??

2. Whether the comparision is to be done on AUD/CAD--AUDCHF etc etc for each setting
 
Upvote 0
Two Queries
1. Can setting No be duplicates. If there can be duplicates how to deal with it. Should i show large positive value??

2. Whether the comparision is to be done on AUD/CAD--AUDCHF etc etc for each setting


Hello CA_Punit
Sorry, I am not sure what you are asking me...
I don't follow your wording
 
Upvote 0
1. Can setting No be duplicates. If there can be duplicates how to deal with it. Should i show large positive value??

I was enquiring can (Setting No) Stated in a Pair be repeated more than once (Eg can i have setting No 64 twice for AUDCAD pair). If yes what value to be shown. The Largest positive value??

2. Whether the comparision is to be done on AUD/CAD--AUDCHF etc etc for each setting

I meant whether the comparision of largest postive value to be done on the basis of Setting for each class (AUDCAD/AUDCNF etc etc)
 
Upvote 0
Try this

=IFERROR(INDEX(OFFSET($A$1,2,MATCH(B$22,$A$1:$K$1,0)-1,16,),MATCH($A24,OFFSET($A$1,2,MATCH(B$22,$A$1:$K$1,0),16,),0)),"")

1594841318825.png
 
Upvote 0
Hey Gaz Chops.

Thanks so much for the coding.
I copied your formula into cell as per my sheet.
See inserted formula here = ***
1AUDCAD2AUDCHF3AUDJPY4AUDNZD5AUDUSD6
ValueSettingValueSettingValueSettingValueSettingValueSettingValue
-2577.08644198.95316053.2451963.34506000456615.57
-2943.27933673.19344656.7149643.56405500475250.61
-3311.13952098.86354655.8552475.64174500485041.62
-3311.14892098.6933465555321.78804500444281.88
-3311.1594524.55394654.9956318.78534000573992.56
-3311.5791524.37414190.0654318.78434000463673.32
-3313.0765524.37404189.659222.47154000433231.92
-3661.8823-0.71303724.6953156.86203500533231.91
-3662.5321-1.05323723.79605903000583231.91
-3679.0296-525.41383723.36664933000562707.03
-3679.2487-525.57663259.75503943000512707.03
-3679.4690-525.59423259.74482963000492707.02
-3679.6586-525.74653258.4457-1413000422416.68
-3680.7573-525.95373257.9961-1383000392181.97
-3680.7568-1050.48453257.5665-3522500552181.96
-4046.997-1050.83293257.5664-4442000592181.79
***= formula inserted here
12345678910
AUDCADAUDCHFAUDJPYAUDNZDAUDUSDCADCHFCADJPYCHFJPYEURAUDEURCAD
85***
86
87
88
89
90
91
92
93
94
95
96
97

I copied the formula down, but no data has appeared.

I am not sure what else to do.
I am sorry to add that I am not that familiar with the functions you have used...
I look up the functions tomorrow to understand what you've produced

Any assistance is greatly appreciated

NeoTrader
 
Upvote 0
Maybe I misunderstood! I thought from your OP that you wanted the Output in the Table below!

My solution takes the Values for each Pair and based on their Setting, sorts them 1-100. As per the sample below.

=IFERROR(INDEX(OFFSET($A$1,2,MATCH(B$22,$A$1:$K$1,0)-1,16,),MATCH($A24,OFFSET($A$1,2,MATCH(B$22,$A$1:$K$1,0),16,),0)),"")

1594887113743.png


If this is not correct then restate what you are trying to achieve, use the XL2BB option to upload sample data, showing what results you expect.

Gaz
 
Upvote 0
Hey Gaz

No, no... you have understood correctly my friend....
The output is spot on

It's me, I don't get the results when I use/apply your formula into the cell... sorry about that.
The uploaded 'capture range' sent previously is correct...

I very much appreciate your assistance

If needed, using onedrive I can share a copy of the sheet with you if that makes it easier, just let me know.

my thanks
 
Upvote 0

Forum statistics

Threads
1,214,978
Messages
6,122,545
Members
449,089
Latest member
davidcom

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