IPB

Welcome Guest ( Log In | Register )

 Forum Rules 
Blaine Fabrication.comUMI PerformanceUnbalanced EngineeringSolo PerformanceHotpart.com
> Who's good with MS-Excel?
Rob Hood
post Oct 17 2004, 04:44 AM
Post #1


Experienced Member
***

Group: Advanced Members
Posts: 1,086
Joined: 16-January 04
From: Chandler AZ
Member No.: 130



need a formula written, have been searching through the MS-help and can't seem to find a way to write the formula I want. I need a formula that shows the next number in column A when I enter data in column B.

For instance, if A2 says "1," then when I click on B3, I want A3 to show "2." I also need the number to show in five digits, e.g., 00001, 00002, etc.

Where's the enguhneers out there??? (IMG:http://www.frrax.com/rrforum/style_emoticons/default/smile.gif)

Rob
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
y5e06
post Oct 18 2004, 12:40 AM
Post #2


Advanced Member
**

Group: Advanced Members
Posts: 951
Joined: 2-January 04
From: Austin, TX
Member No.: 88



edited to add if statement (always check your work, right?):


ok, I don't know how to get your counting column (A column) to increment just by clicking on your data cell (B column). However you can use a count function 'counta' to return a value if there is any data of any kind (integer, character, etc.) entered in your data column
in your first column, first cell (A1) enter: =IF(COUNTA(B1)>0,1," ")
in the first column, second cell (A2) enter: =IF(COUNTA(B2)>0,A1+1," ")
once you do that, click on the second cell (A2) and drag all the way down for as many counting cells as you want, then hit 'control' and 'd' at the same time.
that will fill down that formula to the lower cells control+d is the short cut.
(or you could pick 'Edit' -> 'Fill' -> 'Down' from the pull down menu.

After that when you enter data in B1, '1' will appear in A1
if you then enter data in B2, '2' will appear in A2.

you could make it more complicated using more logic statements if you wanted to skip data cells but continue counting. say if you wanted to not enter data in B3 but you do want enter data in B4 and still have column A incriment.

This post has been edited by y5e06: Oct 18 2004, 12:46 AM
Go to the top of the page
 
+Quote Post

Posts in this topic
Rob Hood   Who's good with MS-Excel?   Oct 17 2004, 04:44 AM
RedHardSupra   First part is either trivial or I'm not gettin...   Oct 17 2004, 07:55 AM
mitchntx   =(cell number)+1 in the target cell should get it...   Oct 17 2004, 09:39 AM
Jeff94TA   QUOTE (mitchntx @ Oct 17 2004, 04:39 AM)For t...   Oct 17 2004, 05:36 PM
Rob Hood   ok, I'm getting there - thanks for all the inp...   Oct 17 2004, 09:27 PM
y5e06   edited to add if statement (always check your work...   Oct 18 2004, 12:40 AM
Rob Hood   Morgan, thanks for the input. I did try your sugg...   Oct 18 2004, 01:20 AM
mitchntx   OK ... now I'm curious ... What the hell are ...   Oct 18 2004, 01:24 AM
Rob Hood   pretty much banging my head like that emoticon... ...   Oct 18 2004, 01:43 AM
felton316   If you are just generating a auto numbering sequen...   Oct 18 2004, 01:49 AM
mitchntx   I am convinced that is I wanted to know how a blac...   Oct 18 2004, 03:29 AM
trackbird   QUOTE (mitchntx @ Oct 17 2004, 10:29 PM)I am ...   Oct 18 2004, 03:51 AM
rmackintosh   QUOTE (mitchntx @ Oct 17 2004, 09:29 PM)I am ...   Oct 18 2004, 03:44 PM

« Next Oldest · General Discussion · Next Newest »
 

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 5th May 2025 - 12:10 AM