Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-28-2011, 11:12 AM
nai0248 nai0248 is offline Excel AutoFil Windows Vista Excel AutoFil Office 2010 (Version 14.0)
Novice
Excel AutoFil
 
Join Date: Dec 2010
Posts: 2
nai0248 is on a distinguished road
Default Excel AutoFil

I have a list of numbers in a specific order in column C. The sequences is not important, I just want to determine the minimum and maximum values for row count of 10, 13 or some smaller number. Then in column F place the counting sequence of steps.



so if the numbers in column c are;
1,2,3,4,5,6,7,8,9,13,10,11,12 or 1,2,3,4,5,6,7,8,9,10 or 7,7,8,9,10
then f column would be;
1,2,3,4,5,6,7,8,9,10,11,12,13 or 1,2,3,4,5,6,7,8,9,10 or 1,2,3,4,5

The only way I can think of is a macro but don't know enough about macro's.
Reply With Quote
  #2  
Old 01-28-2011, 01:30 PM
macropod's Avatar
macropod macropod is offline Excel AutoFil Windows 7 32bit Excel AutoFil Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi nai,

Assuming you numbers start in row 1 and continue down in consecutive cells, all you need is =ROW() in the adjacent column. If the numbers start in a row other than 1, use a forumla like =ROW()-X, where X is the number of rows preceding thr starting row.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 01-28-2011, 01:34 PM
ConneXionLost's Avatar
ConneXionLost ConneXionLost is offline Excel AutoFil Windows XP Excel AutoFil Office 2003
Simulacrum
 
Join Date: Jan 2010
Location: Victoria, Canada
Posts: 86
ConneXionLost is on a distinguished road
Default

If you place the desired row number in cell E2, then these formulas will provide you with the MAX and MIN of column C:


Code:
=MAX(INDEX($C$1:INDEX($C$1:$C$10,E2),,1))
and,

Code:
=MIN(INDEX($C$1:INDEX($C$1:$C$10,E2),,1))

Cheers,
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel AutoFil Excel Hyperlinks crash Excel programme martinlest Excel 8 01-26-2011 04:23 AM
Excel AutoFil Opening multiple Excel files within the same Excel window. lost9471 Excel 2 05-01-2010 01:57 PM
How do I use an Excel form to populate and Excel spreadsheet apostht Excel 0 05-21-2006 11:17 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:32 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft