Hi Everyone,
I'll try to explain the more clear I can what I need to do, hope you can help me!
I have a table as follows:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD]1,000[/TD]
[TD="align: center"]*[/TD]
[TD]-37.5%[/TD]
[TD]-37.5%[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD]2,500[/TD]
[TD][/TD]
[TD]N/A[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD]5,000[/TD]
[TD][/TD]
[TD]N/A[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
The column A is a list of amounts from which we can choose from a drop down list (data validation). On the column B there are formulas entered to show a "*" besides the amount that was selected on the cell with the drop down list. The column C shows a percentage as the result of a formula relating the cell on the column A with another one on the spreadsheet (if the amount 2,500 - column A - would have been selected instead of 1,000, the "*" would have show up on that row and also the percentage).
So, what I need to do on the cell D1 is to show the cell that is showing a percentage and not a "N/A".
Currently, I'm using the following formula: =VLOOKUP("*",B1:C3,2,FALSE)
But I'm afraid that it only works for the first row (1,000)... what I'm a doing wrong?
Thank you!!
I'll try to explain the more clear I can what I need to do, hope you can help me!
I have a table as follows:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD]1,000[/TD]
[TD="align: center"]*[/TD]
[TD]-37.5%[/TD]
[TD]-37.5%[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD]2,500[/TD]
[TD][/TD]
[TD]N/A[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD]5,000[/TD]
[TD][/TD]
[TD]N/A[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
The column A is a list of amounts from which we can choose from a drop down list (data validation). On the column B there are formulas entered to show a "*" besides the amount that was selected on the cell with the drop down list. The column C shows a percentage as the result of a formula relating the cell on the column A with another one on the spreadsheet (if the amount 2,500 - column A - would have been selected instead of 1,000, the "*" would have show up on that row and also the percentage).
So, what I need to do on the cell D1 is to show the cell that is showing a percentage and not a "N/A".
Currently, I'm using the following formula: =VLOOKUP("*",B1:C3,2,FALSE)
But I'm afraid that it only works for the first row (1,000)... what I'm a doing wrong?
Thank you!!