• 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
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

How to make data entry stay permanently after the condition is false|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / How to make data entry stay permanently after the condition is false|General Excel Questions & Answers|Excel Forum|My Online Training Hub
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…How to make data entry stay permane…
sp_PrintTopic sp_TopicIcon
How to make data entry stay permanently after the condition is false
Avatar
Carlos Arcilla
Member
Members
Level 0
Forum Posts: 10
Member Since:
June 1, 2020
sp_UserOfflineSmall Offline
1
June 3, 2020 - 12:55 am
sp_Permalink sp_Print

Lets say I have a workbook with 4 sheets

1st sheet:

Lets say I have a table.

Column A contains rows, with each row being a drop down list having Yes or No.

Columns B-D contain information on products.

Columns E and F are blank.

 

2nd-4th sheet:

These sheets are invoice tables for different customers, all the same format.

Rows tagged Yes in the first sheet can show up in these invoice sheets through data validation.

There are two cells in this sheet that contain numbers, calculated & dependent on those designated rows.

These two cells are what fills up columns E and F on the first sheet, but I have been doing this manually.

 

Is there a way I can automate this?

If I do an if statement with the logic being: If this row(s) (in sheet 1) is tagged, calculate the numbers in those two cells on the other sheets, then make sheet 1's columns E and F refer to those cells. BUT, once those are untagged as Yes, then columns E and F go away. Which is not what I want. I want them to stay permanently as long as the row has been tagged Yes. How can I do this?

 

Thank you

Avatar
Purfleet
England
Member
Members


Trusted Members
Level 4
Forum Posts: 412
Member Since:
December 20, 2019
sp_UserOfflineSmall Offline
2
June 3, 2020 - 4:58 am
sp_Permalink sp_Print

Pretty much anything can be automated in Excel.

To make things easier can you mock up a workbook of what you are after can post it on here and i will see what i can do

Purfleet

Avatar
Carlos Arcilla
Member
Members
Level 0
Forum Posts: 10
Member Since:
June 1, 2020
sp_UserOfflineSmall Offline
3
June 4, 2020 - 4:43 am
sp_Permalink sp_Print

I have uploaded a sample workbook. So on sheet 1, I have tagged those rows "Yes". 

If you go to sheet 2, you can see that you can see those rows in the table. Once these rows are tagged Yes in sheet 1, I want cell K7 (Sheet2) to go in cell L2 (Sheet1) &&& cell K8 (Sheet2) to go in cell K2 (Sheet1). I am looking a way for these to be done automatically. Sheet 3 would be an exact copy of sheet 2.

However,when I need to make a new invoice, once untagged Yes in Sheet 1, I still want K2 and L2 (Sheet1) data to stay.

Thank you

Avatar
Philip Treacy
Admin
Level 10
Forum Posts: 1518
Member Since:
October 5, 2010
sp_UserOfflineSmall Offline
4
June 4, 2020 - 8:06 am
sp_Permalink sp_Print sp_EditHistory

Hi Carlos,

No file attached.

There's a video here that shows you how to attach files

https://www.myonlinetraininghu.....this-first

Regards

Phil

Avatar
Carlos Arcilla
Member
Members
Level 0
Forum Posts: 10
Member Since:
June 1, 2020
sp_UserOfflineSmall Offline
5
June 4, 2020 - 11:38 pm
sp_Permalink sp_Print

Here is the file

Avatar
Philip Treacy
Admin
Level 10
Forum Posts: 1518
Member Since:
October 5, 2010
sp_UserOfflineSmall Offline
6
June 5, 2020 - 1:54 pm
sp_Permalink sp_Print

Hi Carlos,

I don't see how that can work as described.  If you have the invoice being populated with data from the Shipping Dept sheet, then the invoice number and date are fed into the Shipping Dept sheet, what happens the next time you want to use Item # 10 and 11 in another invoice?  Won't the invoice number and date for this new invoice over-write the previous values in the Shipping Dept sheet?

I don't have all the data but the way I'd approach this is to have a lookup table on a sheet for customer and item information and then use data validation lists on the invoice to populate the line items from this.

In another table you can record the invoice numbers and dates but you'll need a separate row for each invoice.

I don't know if the invoices will exist in the workbook forever, in which case you might just be able to use lookups to record the invoice number and date.  Or if the invoices get removed then you'd need VBA to do this recording.

As I say I'm guessing a bit here as I don't understand the full process you go through.  If you can provide details of the whole process and more data with examples of the records you want created that will help.

Also, it's not a good idea to merge cells, they can cause issues with VBA and formulas.  There are a number of them on the invoice sheet.  You should unmerge them and just use 'Center across selection' from the Alignment tab of the Format Cells dialog.

Regards

Phil

Avatar
Carlos Arcilla
Member
Members
Level 0
Forum Posts: 10
Member Since:
June 1, 2020
sp_UserOfflineSmall Offline
7
June 10, 2020 - 12:15 am
sp_Permalink sp_Print

Thank you for bringing that up. There is a lot of unnecessary information that I excluded because it would have made it more confusing, but I guess that is something that should have been mentioned. Let's say we make an invoice for items #3, #6, and #10. For the next order we receive, the items included in that next order will be added to our list. Even if it is the same item as item #3, it is for a different job. So instead, this item could be item #11. We have a column of "Purchase Order #" that I did not include which helps us differentiate items such as #3 and #11. I will provide a recording of what I am trying to achieve to make it easier to understand. Sorry for the confusion.

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: dan conner, Christoffer Sandberg
Guest(s) 7
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 871
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
Jessica Stewart: 204
A.Maurizio: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Brett Dryland
Saeed Aldousari
Bhuwan Devkota
Kathryn Patton
Maria Conatser
Jefferson Granemann
Glen Coulthard
Nikki Fox
Rachele Dickie
Raj Mattoo
Forum Stats:
Groups: 3
Forums: 24
Topics: 6222
Posts: 27291

 

Member Stats:
Guest Posters: 49
Members: 31912
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.