Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Help with Auto Filter "Ends With"

I have a column of prices. All sale items end with ".99". I want to return
all items that are on sale.

I'm trying to use auto filter to find all items that end with "99" or ".99".
When I set this up, it returns nothing. I have tried using ends with "9",
changing the format to number, text, general. I have also tried using the
"contains" funtion. Nothing works.

I saw an article about using helper columns, which is fine, but I don't know
a formula for "Ends with".

Any idea why not.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Help with Auto Filter "Ends With"

In a helper column type

=IF(MOD(A1,1)=0.99,A1,"")

Drag down to extract all prices ending in .99

Mike

"Retail Services" wrote:

I have a column of prices. All sale items end with ".99". I want to return
all items that are on sale.

I'm trying to use auto filter to find all items that end with "99" or ".99".
When I set this up, it returns nothing. I have tried using ends with "9",
changing the format to number, text, general. I have also tried using the
"contains" funtion. Nothing works.

I saw an article about using helper columns, which is fine, but I don't know
a formula for "Ends with".

Any idea why not.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Help with Auto Filter "Ends With"

Thanks- it works! Any idea why the Auto Filter command won't work?

"Retail Services" wrote:

I have a column of prices. All sale items end with ".99". I want to return
all items that are on sale.

I'm trying to use auto filter to find all items that end with "99" or ".99".
When I set this up, it returns nothing. I have tried using ends with "9",
changing the format to number, text, general. I have also tried using the
"contains" funtion. Nothing works.

I saw an article about using helper columns, which is fine, but I don't know
a formula for "Ends with".

Any idea why not.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Help with Auto Filter "Ends With"

actually- it works for cells that are less than $10, like $9.99, $1.99, etc.
Anything with additional digits, such as $39.99, does not work. I tried
changing =.0.99
to"
=.99
=00.99
=*.99
="*.99"

and a few other things, but couldn't get anything to work. Any suggestions?

"Mike H" wrote:

In a helper column type

=IF(MOD(A1,1)=0.99,A1,"")

Drag down to extract all prices ending in .99

Mike

"Retail Services" wrote:

I have a column of prices. All sale items end with ".99". I want to return
all items that are on sale.

I'm trying to use auto filter to find all items that end with "99" or ".99".
When I set this up, it returns nothing. I have tried using ends with "9",
changing the format to number, text, general. I have also tried using the
"contains" funtion. Nothing works.

I saw an article about using helper columns, which is fine, but I don't know
a formula for "Ends with".

Any idea why not.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Help with Auto Filter "Ends With"

Or just coerce those numbers to text:

=a2&""

And use ends with .99 when you filter that column.



Retail Services wrote:

I have a column of prices. All sale items end with ".99". I want to return
all items that are on sale.

I'm trying to use auto filter to find all items that end with "99" or ".99".
When I set this up, it returns nothing. I have tried using ends with "9",
changing the format to number, text, general. I have also tried using the
"contains" funtion. Nothing works.

I saw an article about using helper columns, which is fine, but I don't know
a formula for "Ends with".

Any idea why not.


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default Help with Auto Filter "Ends With"

Ends with is if you have a text string like

abcde

and you select ends with de for instance


It won't work using numbers, that's why you need a helper column or the
advanced filter


--
Regards,

Peo Sjoblom





"Retail Services" wrote in
message ...
Thanks- it works! Any idea why the Auto Filter command won't work?

"Retail Services" wrote:

I have a column of prices. All sale items end with ".99". I want to
return
all items that are on sale.

I'm trying to use auto filter to find all items that end with "99" or
".99".
When I set this up, it returns nothing. I have tried using ends with
"9",
changing the format to number, text, general. I have also tried using
the
"contains" funtion. Nothing works.

I saw an article about using helper columns, which is fine, but I don't
know
a formula for "Ends with".

Any idea why not.



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 213
Default Help with Auto Filter "Ends With"

I have a column of prices. All sale items end with ".99". I want
to return all items that are on sale.

I'm trying to use auto filter to find all items that end with "99"
or ".99".


In a helper column type

=IF(MOD(A1,1)=0.99,A1,"")

Drag down to extract all prices ending in .99


actually- it works for cells that are less than $10, like $9.99,
$1.99, etc. Anything with additional digits, such as $39.99, does not
work. I tried changing =.0.99
to"
=.99
=00.99
=*.99
="*.99"


There appears to be some rounding in the calculation.

Maybe something like this will help:
=IF(ABS(MOD(A1,1)-0.99)<0.0001,A1,"")
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
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
filter using "ends with" and 3 choices? Ex: ends with 1,2 or3 Debbie Excel Worksheet Functions 1 April 6th 07 12:07 AM
how to auto "copy & paste" (or filter) from a Master spreadsheet? Armando Excel Worksheet Functions 0 September 13th 06 08:55 PM
Change the Auto-filter that is "on" to a RED arrow, can't see blu Blue-eyed girl Excel Worksheet Functions 1 July 26th 06 12:25 AM
Q: Auto filter "selected" color Mark Excel Discussion (Misc queries) 1 February 5th 06 03:07 PM


All times are GMT +1. The time now is 03:30 PM.

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"