Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default 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?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default 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.
  #3   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default 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.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default 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.

  #5   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default 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.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stock data manipulation [email protected] Excel Worksheet Functions 1 June 12th 06 11:06 PM
Column picked randomly with probability relative to number of entr Neil Goldwasser Excel Worksheet Functions 4 May 30th 06 08:55 AM
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
creating a bar graph Johnfli Excel Discussion (Misc queries) 0 October 26th 05 08:16 PM
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Excel Worksheet Functions 12 April 17th 05 10:36 PM


All times are GMT +1. The time now is 11:01 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"