Indirect formula

I am using the below formula to get data from column ‘S’ however I need to turn the numbers prom positive to Negative.
I am using this formula because the numbers I need to get are not on the same row as the position it will end up in. i.e. in the example below the formula is in cell ‘G40’ and the data it is calling is in ‘S35’

Would appreciate an experts help with this please.
Who is Participating?

x

Finance AnalystCommented:
To answer the question to make the result negative, Miss_Sellaneus has given a solution; alternative would be to just put a minus sign in front of the INDIRECT function:

However, this seems a bizarre way round; a simple =\$S\$35 in G40 would do the same.

What relation is there between the column in which the formula is held and the row that holds the result? If you expand on your scenario, there might be a better way.

Thanks
Rob H
0

Commented:
To make it negative:
0

Commented:
Yes, changing to negative is easy but I note the problem based on your example. You are using column as the first parameter for the address function whereas it expects a row number there. Likewise for the second parameter, you probably give row instead of column.

So based on your example, if you want to have G40 be equal to negative S35 use this formula:

The minus 5 is because row 40 (G40) less row 35 (S35) = 5
The +12 is because column G to S spans 12 columns

But Rob is Right, why not just reference the cell directly? Unless maybe it is not always 5 rows above and 12 columns to the right? Maybe you calculate the relative cell somehow where to fetch the data I guess...
0

Author Commented:
The reason I can't just put in a simple =\$S\$35 is because as I go down the column the next cell does not increment by 1 so it is not = \$S\$36 it is \$S\$37. Nothing is ever what it seems.
0

Author Commented:
Thanks for all your help all very good solutions.
0

Commented:

Just for clarity, then My answer should be the accepted solution and Rob the assisted one...
0

Finance AnalystCommented:
With COLUMN()+28 and going down column G, you are still going to have row 35; column G is 7 and 7+28 =35

If as Pierre suggests you have the Row and Column parameters back to front in the ADDRESS function, adding a fixed value of 28 to row or column is still going to give the same relative reference; in the same way as copying and pasting a relative formula.

Copy =S35 from G40 and paste down two cells into G42 it will give =S37.

So I repeat my question, what are you trying to achieve?
0

Commented:
Rob, he's fetching a value from another row which is not always the same relative rows above/or below it so just referencing a cell and copying it down won't work.
0

Author Commented:
I will soon be gone from EE as I am retiring next Friday. Thank you for all your help over the years.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.