• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Excel Checkbook Register|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Excel Checkbook Register|General Excel Questions & Answers|Excel Forum|My Online Training Hub

vba course banner

Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…Excel Checkbook Register
sp_PrintTopic sp_TopicIcon
Excel Checkbook Register
Avatar
David Topp
Member
Members
Level 0
Forum Posts: 9
Member Since:
February 11, 2022
sp_UserOfflineSmall Offline
1
April 9, 2023 - 5:25 am
sp_Permalink sp_Print

I wood like to build a checkbook register using a single column for both “Deposits” & “Withdrawals”. Is there a way with a formula that when I select the transaction Type to be “Withdrawal” that when I enter the amount, it will automatically be negative(-$1.00). Also when the selection is “Deposit”, the amount entered will be automatically positive($1.00).

I will attach a Test File to use if there is a possible answer for me.

Thank you,

David

sp_AnswersTopicSeeAnswer See Answer
Avatar
Riny van Eekelen
Örnsköldsvik, Sweden
Moderator
Members


Trusted Members

Moderators

Power BI
Level 0
Forum Posts: 490
Member Since:
January 31, 2022
sp_UserOfflineSmall Offline
2
April 9, 2023 - 2:25 pm
sp_Permalink sp_Print

You can try this formula in D3 and copy it down:

=D2+IF(B3="Withdrawal",-C3,C3)

sp_AnswersTopicAnswer
Answers Post
Avatar
David Topp
Member
Members
Level 0
Forum Posts: 9
Member Since:
February 11, 2022
sp_UserOfflineSmall Offline
3
April 9, 2023 - 11:03 pm
sp_Permalink sp_Print

Riny,

Thank you very much, that formula works very well, but I forgot that I will need another transaction type to result in a negative value; that being Transfer_Out. Can the formula be modified to incorporate this? I added a drop-down in my transaction column of the sample spreadsheet, and I will attach the updated file.

 

Thank you,

 

David

Avatar
Riny van Eekelen
Örnsköldsvik, Sweden
Moderator
Members


Trusted Members

Moderators

Power BI
Level 0
Forum Posts: 490
Member Since:
January 31, 2022
sp_UserOfflineSmall Offline
4
April 10, 2023 - 3:29 pm
sp_Permalink sp_Print

No problem. Then use this:
=D2+IF(OR(B3="Withdrawal",B3="Transfer_Out"),-C3,C3)

alternatively, if you only have "Deposit" for all incoming amounts use this:
=D2+IF(B3="Deposit",C3,-C3)

Avatar
Jessica Stewart
Northern USA
Member
Members


Trusted Members
Level 0
Forum Posts: 216
Member Since:
February 13, 2021
sp_UserOfflineSmall Offline
5
April 11, 2023 - 4:09 am
sp_Permalink sp_Print

Also, if you would like the visual you can use conditional formatting using this formula:

OR($B3="Withdrawal",$B3="Transfer_Out")

and color the text red and using the custom number format $(x,xx0.00). See attached to see what I mean.

Avatar
David Topp
Member
Members
Level 0
Forum Posts: 9
Member Since:
February 11, 2022
sp_UserOfflineSmall Offline
6
April 14, 2023 - 4:32 am
sp_Permalink sp_Print

Riny,

I am in need of some additional help. Your last formula works Great! However, when I build a an Analysis sheet using Sumifs formula, I run into a problem. Several times per year I have credit card credits(refunds) due to a return. I have added CC_Refund in my Type Drop Down, but the sumifs is built with “Withdrawal”. Is there a way to add to conditions in the Sumifs, both “Withdrawal” & “CC_Refund”. One thing though, the amount associated with the CC_Refund needs to be added back to the register and to the Analysis in the Sumifs. I am adding an updated file showing a sample of what I am trying to do.

 

Thank you much,

 

David

Avatar
Riny van Eekelen
Örnsköldsvik, Sweden
Moderator
Members


Trusted Members

Moderators

Power BI
Level 0
Forum Posts: 490
Member Since:
January 31, 2022
sp_UserOfflineSmall Offline
7
April 14, 2023 - 2:56 pm
sp_Permalink sp_Print

Then you would have to add another SUMIFS statement to the formula that deducts the values for "CC_Refund". I've done that in the attached file in the E4 on the Analysis sheet. See attached.

Note that you also need to apply the Categories consistently. In the cells marked yellow you had "Software " (with a trailing space). I assumed you wanted "Software" (without the trailing space).

Personally, I believe that this method becomes quite cumbersome to maintain. I favour organising the data with positives and negatives or in separate columns for IN and OUT, rather than having to write long formulas that need capture all sorts of exceptions. You can even include budget information in the table itself or a separate one and then create pivot tables based on Types or IN/OUT to create the kind of reports you are dealing with.

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Sherry Fox
Guest(s) 11
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 873
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 222
Jessica Stewart: 216
A.Maurizio: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Melanie Ford
Isaac Felbah
Adele Glover
Hitesh Asrani
Rohan Abraham
Anthony van Riessen
Erlinda Eloriaga
Abisola Ogundele
MARTYN STERRY
Rahim Lakhani
Forum Stats:
Groups: 3
Forums: 24
Topics: 6356
Posts: 27793

 

Member Stats:
Guest Posters: 49
Members: 32324
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.