Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.de.excel,microsoft.public.excel.misc,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 422
Default Sorting Odds & Evens

With your addresses in Column B - enter into Column C the following (and
copy-down) to get the numeric portion of the address only;
=LEFT(B5,FIND(" ",B5,1)-1) << assumes numerics (any number of characters
first) then a space, then street name..

then in Column D use the:
Mod(C5,2) to get you either 0, or 1

then Sort on Column D;
HTH


"Alan Podymov" wrote in message
...
Hello All:
I was wondering if there was a way to sort odd & even numbers in Excel.
We have large spreadsheets of local street addresses that we would like
excel to sort all the even addresses & lump them all together & sort all
the odd street addresses & lump them all together. Is there a little
Macro that will do this for us. Any help would be greatly appreciated.

Thank You...Alan




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
How to make odds ratio graph? How to make odds ratio graph? Charts and Charting in Excel 1 December 27th 09 07:43 PM
how do i calculte race night odds DAVID Excel Worksheet Functions 1 September 22nd 08 05:01 AM
how to calculate games odds pm_sam Excel Worksheet Functions 0 June 20th 08 12:03 AM
Raffle winning odds (off topic) Walter Mayes Excel Worksheet Functions 4 July 27th 06 05:26 PM
Sorting Odds & Evens Bob Phillips[_5_] Excel Programming 1 July 13th 03 08:37 PM


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