Excel 2010-Now
Excel 2007
Excel 2003
Tips & Tricks
Excel Forum
Course Index CIG Excel Book
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Excel Expert 3    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Adding Increments for Cells
Richard Van Wagoner 
      
2 years ago
I have a simple check register that I am playing with, is the a function to auto number the checks as I fill the record in? I have included a screenshot. As you can see with a deposit it messes my formula up as deposits do not have numbers. Can you point me where to look for this?
Richard Van Wagoner OP  @Reply  
      
2 years ago

Kevin Robertson  @Reply  
          
2 years ago
What is the formula in the cell with the error?
Richard Van Wagoner OP  @Reply  
      
2 years ago
The formula is in the screenshot at the top right. It has been auto filled down so it would be =IF([@Amount]<0,"",A9+1).
Kevin Robertson  @Reply  
          
2 years ago
So you want to remove the error? Use the IFERROR function.

    =IFERROR(IF([@Amount]<0,"",A4+1),"")
Richard Van Wagoner OP  @Reply  
      
2 years ago
What I want it to do is find the highest number and add one to it. Is there a Dmax function that can be used to do that?
Richard Van Wagoner OP  @Reply  
      
2 years ago
Let me explain more, In the column I want to find the highest number and add 1 to it unless it is a deposit then leave blank or write "Deposit" in the cell.
Richard Van Wagoner OP  @Reply  
      
2 years ago
I have Changed the formula to =IFERROR(IF([@Amount]<0,"Deposit",A4+1),"") and it works except numbering the cells after deposits. That is why I need something to look at the column and find the highest number and add one to it.
Matt Hall  @Reply  
          
2 years ago
Try substituting MAX(A$4:A4)+1 in place of A4+1 in your formula.
Richard Van Wagoner OP  @Reply  
      
2 years ago
That works thanks! Here is my formula now =IF([@Amount]="","",IFERROR(IF([@Amount]<0,"Deposit",MAX(A$4:A4)+1),"")). The first if prevent the A Column from filling with numbers if the table has been extended with no data.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Excel Expert 3.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/26/2026 3:09:46 AM. PLT: 0s