#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jedispiff
 
Posts: n/a
Default Complex Problem


I have 12 columns of data, looking like this:

(At Least) (But Less than) 0 1 2 3 4 5 6 7 8 9 10
0 105 0 0 0 0 0 0 0 0 0 0
105 110 1 2 0 0 0 0 0 0 0
110 115 2 3 4 0 0 0 0 0 0
etc.
I have two things to pinpoint exactly which number I want on the left,
the first is the number that falls in between the atleast and less
than, and a number between 0-10 that chooses which column to select.
eg. The first number they give is 108 and the second number they give
is 1, so it should fall under the third row (because 108 is between 105
and 110) and the number it should return is 2 because that is under the
#1 column.

Sounds pretty complex to me, hope someone can make sense out of it and
help me out, thanks :).


--
Jedispiff
------------------------------------------------------------------------
Jedispiff's Profile: http://www.excelforum.com/member.php...o&userid=32099
View this thread: http://www.excelforum.com/showthread...hreadid=518567

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default Complex Problem

It's not that complex but your posted table looks a bit strange, I doubt it
really looks like that?

--

Regards,

Peo Sjoblom

Northwest Excel Solutions

www.nwexcelsolutions.com

(remove ^^ from email address)

Portland, Oregon




"Jedispiff" wrote
in message ...

I have 12 columns of data, looking like this:

(At Least) (But Less than) 0 1 2 3 4 5 6 7 8 9 10
0 105 0 0 0 0 0 0 0 0 0 0
105 110 1 2 0 0 0 0 0 0 0
110 115 2 3 4 0 0 0 0 0 0
etc.
I have two things to pinpoint exactly which number I want on the left,
the first is the number that falls in between the atleast and less
than, and a number between 0-10 that chooses which column to select.
eg. The first number they give is 108 and the second number they give
is 1, so it should fall under the third row (because 108 is between 105
and 110) and the number it should return is 2 because that is under the
#1 column.

Sounds pretty complex to me, hope someone can make sense out of it and
help me out, thanks :).


--
Jedispiff
------------------------------------------------------------------------
Jedispiff's Profile:
http://www.excelforum.com/member.php...o&userid=32099
View this thread: http://www.excelforum.com/showthread...hreadid=518567


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jedispiff
 
Posts: n/a
Default Complex Problem


Well, there are 132 more lines to it, and that's not exactly what it
looks like, but it's a good approximation


--
Jedispiff
------------------------------------------------------------------------
Jedispiff's Profile: http://www.excelforum.com/member.php...o&userid=32099
View this thread: http://www.excelforum.com/showthread...hreadid=518567

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Arvi Laanemets
 
Posts: n/a
Default Complex Problem

Hi

At start, dismiss LessThan column at all, and start, so your table will look
like this

AtL 1 2 3 4 5 6 7 8 9 10
0 0 0 0 0 0 0 0 0 0 0
105 1 2 0 0 0 0 0 0 0 0
110 2 3 4 0 0 0 0 0 0 0
115

The formula for conditions 108 and 1
=OFFSET(A1,MATCH(108,A2:A5,1),1)
,for 33 and 8
=OFFSET(A1,MATCH(33,A2:A5,1),8)
, etc.


--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )


"Jedispiff" wrote
in message ...

I have 12 columns of data, looking like this:

(At Least) (But Less than) 0 1 2 3 4 5 6 7 8 9 10
0 105 0 0 0 0 0 0 0 0 0 0
105 110 1 2 0 0 0 0 0 0 0
110 115 2 3 4 0 0 0 0 0 0
etc.
I have two things to pinpoint exactly which number I want on the left,
the first is the number that falls in between the atleast and less
than, and a number between 0-10 that chooses which column to select.
eg. The first number they give is 108 and the second number they give
is 1, so it should fall under the third row (because 108 is between 105
and 110) and the number it should return is 2 because that is under the
#1 column.

Sounds pretty complex to me, hope someone can make sense out of it and
help me out, thanks :).


--
Jedispiff
------------------------------------------------------------------------
Jedispiff's Profile:
http://www.excelforum.com/member.php...o&userid=32099
View this thread: http://www.excelforum.com/showthread...hreadid=518567



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jedispiff
 
Posts: n/a
Default Complex Problem


Thanks for the help, made it work :)


--
Jedispiff
------------------------------------------------------------------------
Jedispiff's Profile: http://www.excelforum.com/member.php...o&userid=32099
View this thread: http://www.excelforum.com/showthread...hreadid=518567

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
Importing XML containing Complex Elements troy Excel Discussion (Misc queries) 0 September 29th 05 06:27 PM
Urgent Help Required on Excel Macro Problem Sachin Shah Excel Discussion (Misc queries) 1 August 17th 05 06:26 AM
Problem With Reference Update Egon Excel Worksheet Functions 17 July 16th 05 05:45 AM
Copy an Drag cell Formula Problem Nat Excel Discussion (Misc queries) 1 June 20th 05 03:24 PM
problem office assistant R.VENKATARAMAN Excel Discussion (Misc queries) 0 June 15th 05 06:22 AM


All times are GMT +1. The time now is 04:58 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"