Hi All,
I do hope somebody can help me?
I have formula references in cells, such as:
<colgroup><col style="mso-width-source:userset;mso-width-alt:4386;width:96pt" width="129"> </colgroup><tbody>
[TD="width: 129"]Deliveries!T25[/TD]
</tbody>They are not prefaced by an equals (=) sign, as this is to allow a program to read the reference location, to find data on another spreadsheet, and put the extracted data into a database. This allows me to change my original data excel spread sheet, which then allows me to change these data location references, without having to change the program. Just so that you understand why it has been completed in this way.
The above references are part of Table 1. Table 2 numbers happen to offset by 10, and so Deliveries!T25 on the next set of references becomes Deliveries!T35. The next Deliveries!AZ25, becomes Deliveries!AZ35 and so on.
I wish to use a formula to update these references, and have tried the following:
=IF(LEN(C41)-FIND("!",C41)=3,LEFT(C41,FIND("!",C41)+1)&NUMBERVALUE(RIGHT(C41,2))+10,LEFT(C41,FIND("!",C41)+2)&NUMBERVALUE(RIGHT(C41,2))+10)
Which works as long as I do not go into 100 & above. Adding a IF(LEN(C41)-FIND("!",C41)=5 to the formula, and making the changes to allow for the increased sized text, also does not work.
I am probably making a 'pigs ear' out of updating these cells, having also tried: ISNUMBER(MID(C140,FIND("!",C140)+1,1)) & ISNUMBER(MID(C140,FIND("!",C140)+2,1)). Because I do not get a proper TRUE & FALSE, as it always views it as 'text'.
Can somebody please help me, so that the formula can be replicated down, referencing the previous formulas, as there are many to do, and I would prefer not to use separate columns with all the information split out?
I do hope somebody can help me?
I have formula references in cells, such as:
Deliveries!AZ25 |
Deliveries!CK25 |
Deliveries!K26 |
Deliveries!CK26 |
<colgroup><col style="mso-width-source:userset;mso-width-alt:4386;width:96pt" width="129"> </colgroup><tbody>
[TD="width: 129"]Deliveries!T25[/TD]
</tbody>
The above references are part of Table 1. Table 2 numbers happen to offset by 10, and so Deliveries!T25 on the next set of references becomes Deliveries!T35. The next Deliveries!AZ25, becomes Deliveries!AZ35 and so on.
I wish to use a formula to update these references, and have tried the following:
=IF(LEN(C41)-FIND("!",C41)=3,LEFT(C41,FIND("!",C41)+1)&NUMBERVALUE(RIGHT(C41,2))+10,LEFT(C41,FIND("!",C41)+2)&NUMBERVALUE(RIGHT(C41,2))+10)
Which works as long as I do not go into 100 & above. Adding a IF(LEN(C41)-FIND("!",C41)=5 to the formula, and making the changes to allow for the increased sized text, also does not work.
I am probably making a 'pigs ear' out of updating these cells, having also tried: ISNUMBER(MID(C140,FIND("!",C140)+1,1)) & ISNUMBER(MID(C140,FIND("!",C140)+2,1)). Because I do not get a proper TRUE & FALSE, as it always views it as 'text'.
Can somebody please help me, so that the formula can be replicated down, referencing the previous formulas, as there are many to do, and I would prefer not to use separate columns with all the information split out?