Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
spillott
 
Posts: n/a
Default IF statement help


I have 2 differnent lists of names each with their corresponding sales.
What I want to do is output a new list that has paired the people in the
different lists that have similar sales (+/-500)


--
spillott
------------------------------------------------------------------------
spillott's Profile: http://www.excelforum.com/member.php...o&userid=35695
View this thread: http://www.excelforum.com/showthread...hreadid=554785

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max
 
Posts: n/a
Default IF statement help

"spillott" wrote:
I have 2 different lists of names each with their corresponding sales.
What I want to do is output a new list that has paired the people in the
different lists that have similar sales (+/-500)


Perhaps something along these lines ..

Assuming we want the list of names with sales: 1000 +/-500,
ie sales between 500 to 1500 ..

Copy & paste the 2 lists sequentially one below the other in a new sheet,
then use autofilter custom* on the sales col header

*Click Data Filter Autofilter Custom,
then make the settings in the Custom Autofilter dialog:
Show rows whe
is greater than or equal to: 500
And
is less than or equal to: 1500
Click OK

The desired list will be filtered out
Just copy & paste it elsewhere as may be required

Adapt the custom autofilter settings to suit ..
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
spillott
 
Posts: n/a
Default IF statement help


I don't have a central value (1000) that I want to be plus or minus from
which is the issue I cannot get around. The data ranges in both lists
from 0 - over 20 million so I would need an infinite number of central
values with limits of +/- 500. What I am trying to do is have all the
data in 1 list compare to all the data in the other list and output the
pairs that are similar wheather they are both at $5 or $5 000 000.

Any help would be greatly appreciated,

Thanks:(


--
spillott
------------------------------------------------------------------------
spillott's Profile: http://www.excelforum.com/member.php...o&userid=35695
View this thread: http://www.excelforum.com/showthread...hreadid=554785

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max
 
Posts: n/a
Default IF statement help

"spillott" wrote:
I don't have a central value (1000) that I want to be plus or minus from
which is the issue I cannot get around. The data ranges in both lists
from 0 - over 20 million so I would need an infinite number of central
values with limits of +/- 500. What I am trying to do is have all the
data in 1 list compare to all the data in the other list and output the
pairs that are similar wheather they are both at $5 or $5 000 000.


Not very sure (hang around for better insights from others) ..

Assuming the 2 lists are within say, A1:B10 in sheets named as: X, Y
A1:A10 = names, B1:B10 = numbers
Numbers are assumed unique numbers within B1:B10 in either X or Y

Try this in a new sheet: Z (say)

In A1:
=IF(B1="","",X!A1&"-"&INDEX(Y!A:A,MATCH(X!B1,Y!B:B,0)))

In B1:
=IF(ISNUMBER(MATCH(X!B1,Y!B:B,0)),X!B1,"")

Select A1:B1, copy down to B10

Col A returns the concat string of the pairs of names with matching numbers
(X - Y strings), while col B returns the corresponding matching numbers
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
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
reconcile two months statement? achilles Excel Discussion (Misc queries) 0 March 17th 06 03:47 AM
SET statement tutorial Daminc Excel Discussion (Misc queries) 13 January 17th 06 04:47 PM
If Statement linked to cell with VLOOKUP problem - getting wrong v Mike R. Excel Worksheet Functions 4 January 14th 06 02:16 PM
If statement Matt Montagliano Excel Discussion (Misc queries) 1 September 8th 05 08:47 PM
Do I need a sumif or sum of a vlookup formula? PeterB Excel Worksheet Functions 0 June 1st 05 12:23 PM


All times are GMT +1. The time now is 04:44 PM.

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

About Us

"It's about Microsoft Excel"