[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

10/19/2005 at 03:14PM PDT, ID: 21601009
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.0

How to keep referenced cells in formula from deleting while running code.

Asked by Definit1 in Microsoft Excel Spreadsheet Software

Tags: formula, cells, keep, remove

I have three files...
One is the Suspense Count macro...that contains the two macro's I have been working with. Module 1 is the original code that is now obsolute because the file it was referencing has now changed. Module 2 is the updated code that I have been working with and that has been giving me nightmares. I am simply trying to replicate the same formatting processes for Module1 as in Module 2 but have run into several speed bumps...

1) When the code for Module 2 runs straight through (which is seldom) the end result should be that the "Calc sheet" populates with the expression [=SUM(IF('Suspense Exceptions Results'!$A$2:$A$4523=$C5,'Suspense Exceptions Results'!D$2:D$4523,0))] for columns (AB:AI) The expression does not seem to be doing this properly and I know it is correct (I basically just copied it from the pre-existing expression used to run "Module1" in the "Calc sheet". My hunch is that the placement in "Module2" of my autofiltering is the cause of the problem. I also think that the "Product", "Department" and "Account Name" columns in the "Suspense Exceptions Results" sheet may not be copying the formulas in their respective cell correctly.

Module 2...
1) is basically opening up the Suspense Account Template
2) goes back to the "Suspense Account Macro" file in "Table of Accounts" sheet.
3) copy's formula in code in new column to left of "acct#" column so it is less one digit to the right and then names the new column "Account" for vlookup purposes.
4) Activates "Registry" sheet in "Suspense Count macro" file to get path to open file to be uploaded into "Suspense Count template" file called "table_Suspense_Exceptions_Results43516".
5) Moves "Exported Sheet" sheet from "table_Suspense_Exceptions_Results43516" file to Suspense Count Template" file.
6) Goes to "Calc" sheet and copies and formats date.
7) Goes to "Exported Sheet" sheet and removes unnecessary fields (really should only have "Account", "CCY", "Age" left).
Okay things get a little cagey here because it's doing things with the whole Columns ("A").Value function that I don't necessarily understand. This line of code was done by one of you expert guys...using a variable such as "iLastRow" worked fine for me but that's another story. Infact I don't think that the Columns("A").Value = .Columns("A").Value works in my code effectively because it does not stop the pasting of cells at the last row. It just goes down all the way to row 65***. Not good. It has to go down only to the last value in a particular row because it is causing me headches when i try to autofilter.
7b) It also does a series of calculations and (autofiltering which I may have placed prematurely.) which is probably why the end result of the "Calc" formula cannot calculate the date being referenced from the "Suspense Exceptions Results" correctly.
8) Adds/creates new sheet named "Temp2" where it pastes the final format of the "Exported Sheet" sheet. It is then subtotaled by Account and three new columns (Product/Department/Account Names) are created to do vlookups of same accounts being reference in "Suspense Account Macro" under "Table of Accounts" sheet (updated earlier in code in step 3).
9) Goes back into "Suspense Exceptions Results" sheet paste formatted "Temp2" file into sheet. Remove total and sort by Product and Department (which does not work in my code "Module2" suspect this has something to do with the autofiltering placement in my code.
10) "Temp2" sheet  replace Total with " ". which allows vlookups fields (Product/Department/Account Name) to populate. Auto filter for "#N/A".
The rest is self explanatory...probably all of this is...but I'm desperate for help so...you get everything I think can be of assistance.

Please let me know where to send files and hopefully my nightmare can be over soon...
[+][-]10/19/05 03:19 PM, ID: 15120350

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]10/20/05 04:41 AM, ID: 15123338

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/20/05 08:35 AM, ID: 15125396

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/20/05 09:45 AM, ID: 15126035

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/20/05 09:57 AM, ID: 15126151

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/20/05 12:15 PM, ID: 15127383

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/21/05 04:33 PM, ID: 15136327

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/21/05 04:37 PM, ID: 15136336

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/21/05 04:38 PM, ID: 15136342

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/21/05 04:43 PM, ID: 15136358

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/21/05 04:45 PM, ID: 15136363

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/21/05 04:46 PM, ID: 15136365

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/21/05 04:50 PM, ID: 15136377

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/21/05 04:56 PM, ID: 15136395

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/21/05 04:57 PM, ID: 15136398

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/21/05 05:00 PM, ID: 15136408

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/21/05 05:00 PM, ID: 15136409

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/21/05 05:02 PM, ID: 15136418

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/21/05 09:37 PM, ID: 15137097

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/24/05 02:51 PM, ID: 15150244

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/24/05 03:00 PM, ID: 15150292

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/24/05 03:07 PM, ID: 15150334

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/24/05 03:09 PM, ID: 15150343

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/24/05 04:55 PM, ID: 15150941

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/24/05 05:37 PM, ID: 15151117

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/24/05 06:45 PM, ID: 15151381

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/24/05 06:48 PM, ID: 15151390

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Excel Spreadsheet Software
Tags: formula, cells, keep, remove
Sign Up Now!
Solution Provided By: byundt
Participating Experts: 2
Solution Grade: A
 
 
[+][-]10/24/05 07:02 PM, ID: 15151457

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/25/05 10:49 AM, ID: 15156481

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/25/05 10:57 AM, ID: 15156550

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/25/05 11:28 AM, ID: 15156819

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/25/05 04:01 PM, ID: 15158755

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20090824-EE-VQP-74