How to get the column differences
Eg: I have 2 values like AA and AF
The difference between the column is 5
How to get the value like this?
Please help
How to get the column differences
Eg: I have 2 values like AA and AF
The difference between the column is 5
How to get the value like this?
Please help
dt.column.index("AF")-dt.column.index("AA")
@Sweety_Girl Is “AA” and “AF” column Names or the Values in different Columns ?
Its “AA” “AF”
No, It Doesn’t work
is AA is column name or cell reference?
Cell Reference!!
Do you know the column names?
if yes then use
dt.column.index(“Column1”)-dt.column.index(“column2”)
Its not working at my end,
Did that works for you??
@Sweety_Girl I think it should be :
dt.Columns.IndexOf(“ColumnName2”)-dt.Columns.IndexOf(“ColumnName1”)
But it Should be Column Names not Cell Reference
You need to write those column names there
I am working in Cell referencing, Like using the loop up range and getting cell reference and processing…
So now I am getting two references like AA5 and AF5
I need the difference for AA and AF??
Hi
please refer this this will help you
and then use it for subtraction
@Sweety_Girl
How to you get the cell references ?
LookUp Range
@Sweety_Girl so you should be providing a lookup value as well in lookup range ?
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.