Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Finding number less than 1

I have a sorted column of prices. How can I program Excel to find the
location of the cell where the price starts to be less than one dollar, i.e.
1.00? As an example, I can't ask it to find say 0.99 as it may also find

12.99 for instance. This is part of a program. Thanks for any help.

Sony


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 340
Default Finding number less than 1

In the name box (to the left of the formula bar) or Edit-goto box (F5
chortcut) type:

index(a:a,match(true,a1:a1000<12.99,0))

or adjust range for other selection. Choose tools-macro-record new
macro before this to include code.



Sony wrote:

I have a sorted column of prices. How can I program Excel to find the
location of the cell where the price starts to be less than one dollar, i.e.
1.00? As an example, I can't ask it to find say 0.99 as it may also find

12.99 for instance. This is part of a program. Thanks for any help.

Sony


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Finding number less than 1

Thanks Lori. That was great. It works.

"Lori" wrote in message
oups.com...
In the name box (to the left of the formula bar) or Edit-goto box (F5
chortcut) type:

index(a:a,match(true,a1:a1000<12.99,0))

or adjust range for other selection. Choose tools-macro-record new
macro before this to include code.



Sony wrote:

I have a sorted column of prices. How can I program Excel to find the
location of the cell where the price starts to be less than one dollar,
i.e.
1.00? As an example, I can't ask it to find say 0.99 as it may also
find

12.99 for instance. This is part of a program. Thanks for any help.

Sony




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
Finding the closest number in column A and take the value in column B reefguy Excel Worksheet Functions 3 May 5th 06 07:25 PM
Finding a maximum number...with an exception cubsfan Excel Discussion (Misc queries) 1 April 7th 06 06:48 PM
finding the right number kevindict Excel Worksheet Functions 2 September 7th 05 11:27 PM
Finding a number in a table? JoeBed Excel Discussion (Misc queries) 10 June 4th 05 11:52 PM
finding row number? james Excel Discussion (Misc queries) 3 February 2nd 05 11:56 PM


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