Looking for opposite of a value in same column
I have a variable value X in cell 2, column Q. I would like to search for -X
in the entire column Q. I would then like to have both the original value and the opposite value sorted or filtered so that they appear at the top of the page. How do I do this? |
Looking for opposite of a value in same column
"OfficeNDN" wrote: I have a variable value X in cell 2, column Q. I would like to search for -X in the entire column Q. I would then like to have both the original value and the opposite value sorted or filtered so that they appear at the top of the page. How do I do this? "I have a variable value X in cell 2, column Q." I mean row 2, column Q. |
Looking for opposite of a value in same column
Place in Q1:
=IF(ISNUMBER(MATCH(-Q2,Q3:Q65536,0)),-Q2,"") -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "OfficeNDN" wrote: I have a variable value X in cell 2, column Q. I would like to search for -X in the entire column Q. I would then like to have both the original value and the opposite value sorted or filtered so that they appear at the top of the page. How do I do this? "I have a variable value X in cell 2, column Q." I mean row 2, column Q. |
Looking for opposite of a value in same column
Thanks and it worked great.
"Max" wrote: Place in Q1: =IF(ISNUMBER(MATCH(-Q2,Q3:Q65536,0)),-Q2,"") -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "OfficeNDN" wrote: I have a variable value X in cell 2, column Q. I would like to search for -X in the entire column Q. I would then like to have both the original value and the opposite value sorted or filtered so that they appear at the top of the page. How do I do this? "I have a variable value X in cell 2, column Q." I mean row 2, column Q. |
Looking for opposite of a value in same column
Glad to hear that ! cheers.
-- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "OfficeNDN" wrote: Thanks and it worked great. |
All times are GMT +1. The time now is 05:36 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com