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-
 
OK I have amended the formula to match your data ranges

=IFERROR(INDEX(OFFSET($A$1,2,MATCH(B$111,$A$1:$BD$1,0)-1,100,),MATCH($A113,OFFSET($A$1,2,MATCH(B$111,$A$1:$BD$1,0),100,),0)),"")

I can't sign in to test it properly, enter the formula in Cell B113, let me know if it works.
 
Upvote 0

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
oh my.

Entered the formula... nothing appears :(

Odd you say you cant sign in to test it properly... I didnt place a password on the folder... it should be available via the link with permission to edit also - I'll re-check the folder and and file in the shared drive!
 
Upvote 0
No it's my login that isn't working!

I found the problem, the numbers under Setting columns are not numbers! They are text!

Easiest way to fix is to change the Numbers in Col A in the Output Table to be Text, that way it will match, as below.

Enter 1 as '1 then 2 as '2 then highlight '1 & '2 and drag down, all the data should appear.

1594931878969.png
 
Upvote 0
Righto Gaz...

Column A113:A215 now as text with numbers 1 to 103... done
re-applied formula to cell B113 and scrolled down to B215. done

the output column is still blank...
what am i missing here :l

can you place your formula into the shared file in onedrive ? is that possible to solve this oddity ?
 
Upvote 0
Marvellous Work Gaz...
you star

I have copied your formula from the shared file and loaded into the master sheet with success...
(Odd that i F2 the cell B113 and the formula and selected cells are the same as before - but its working :)

Now I need to figure out how to best use the data produced in the table...

Thank you so much for your sterling work
:)(y)?✅
 
Upvote 0

Forum statistics

Threads
1,215,491
Messages
6,125,110
Members
449,205
Latest member
ralemanygarcia

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