How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask John D Your Own Question

John D
John D, Bachelor's Degree
Category: Microsoft Office
Satisfied Customers: 9654
Experience:  Bachelor of Science - Engineering Consultant
Type Your Microsoft Office Question Here...
John D is online now
A new question is answered every 9 seconds

I have an xcel work sheet that we fill in the quanity on sheet

Customer Question

I have an xcel work sheet that we fill in the quanity on sheet 2 and it is carried over to sheet one. Sheet one is the quote we send the customer. How can I hide the lines on sheet one that contain zero. As in we did not enter a quanity into sheet 2.
Submitted: 2 years ago.
Category: Microsoft Office
Expert:  John D replied 2 years ago.

Hi,

 

You need a macro for that. I will be happy to write one for you but I need you to send me the file so I can set it up on (let me know if you need help uploading files on this site)

 

Customer: replied 2 years ago.

ok how can I upload it for you? The attachment says just graphics

 

Expert:  John D replied 2 years ago.

Yes you can you use that graphics tool to upload excel files

 

 

Customer: replied 2 years ago.
Expert:  John D replied 2 years ago.

Got it, thanks

 

So essentially you want to hide the rows between row 8 and 58 that have a blank or 0 in column B. Correct?

 

 

Customer: replied 2 years ago.
yes that is correct. That way only the items that have a number entered on sheet 2 show up on sheet 1
Expert:  John D replied 2 years ago.

I am not sure I understand the sheet1 connection. I thought you wanted to hide rows on sheet2 that have no quantities on sheet2 also.

 

 

Customer: replied 2 years ago.

not really, sheet 2 is the work sheet that we fill out to establish the cost. Sheet 1 is the quote that we send to the customer. We need to be able to fill in sheet 2 and have the items shown on sheet 1, unfortunately, not all the items on sheet 2 are to be carried over.

 

Expert:  John D replied 2 years ago.

I don't see any meaningful list on sheet1. Please send me a sheet with some non zero data in sheet1 and tell me which rows in that sample sheet need to be hidden

 

Customer: replied 2 years ago.
Customer: replied 2 years ago.

Here is a sheet that has not had the zero rows deleted.

 

 

 

Attachment: 2011-11-03_152250_test_sheet2.xlsx

Expert:  John D replied 2 years ago.

You will actually need two macros. One to hide rows, and to reset all rows so you can modify qty or start a new quote

 

Ok I am on it now...Will get back to you as soon as I am done..

 

 

 

Customer: replied 2 years ago.

thanks

 

Expert:  John D replied 2 years ago.

Done. Here is a screenshot of the result after running the first macro

 

graphic

 

 

 

If that is what you are trying to accomplish thank you for clicking accept while I send you the file

 

 

John D, Bachelor's Degree
Category: Microsoft Office
Satisfied Customers: 9654
Experience: Bachelor of Science - Engineering Consultant
John D and 7 other Microsoft Office Specialists are ready to help you
Customer: replied 2 years ago.

how will you send the file?

 

Expert:  John D replied 2 years ago.

Thanks!

 

Here is the file with the macros

 

http://www.2shared.com/file/9k2NAAtM/2011-11-03_152250_test_sheet2a.html

 

Please note that since there is a macro in the file you need to make sure that you have your Excel Options configured so that macros are allowed to run, otherwise nothing happens when you click the button. If you need assistance in this regard please let me know,.and provide the version of Excel you are running

 

 

Try it and let me know if it needs any tweaking or if you have any questions

 

 

Expert:  John D replied 2 years ago.

By the way make sure to click the blue DOWNLOAD button at the bottom of the download page

 

 

 

Customer: replied 2 years ago.

it keeps saying macros are disabled

 

Customer: replied 2 years ago.
office xcel 2007
Expert:  John D replied 2 years ago.

Ok close all Excel applications and files, then start Excel 2007,
1- click the Office button
2- click Excel Options button
3- in the left pane click Trust Center
4- click Trust Center Settings button
5- in the left pane click Macro Settings
6- select "Enable all macros...".

 

Let me know how it goes

 

JustAnswer in the News:

 
 
 
Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.
 
 
 

What Customers are Saying:

 
 
 
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
< Last | Next >
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
  • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
  • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
  • Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland
 
 
 

Meet The Experts:

 
 
 
  • jstinehelfer's Avatar

    jstinehelfer

    Information Systems Manager

    Satisfied Customers:

    36
    A+ Comptia Certified computer repair
< Last | Next >
  • http://ww2.justanswer.com/uploads/JS/jstinehelfer/2012-6-6_215146_Pictureofme1.64x64.png jstinehelfer's Avatar

    jstinehelfer

    Information Systems Manager

    Satisfied Customers:

    36
    A+ Comptia Certified computer repair
  • http://ww2.justanswer.com/uploads/JA/JasonJames122/2011-12-16_135647_jasonjamesheadshotweb.64x64.jpg JasonJames122's Avatar

    JasonJames122

    Computer Enthusiast

    Satisfied Customers:

    0
    I manage all information systems (network of Windows PC's and servers with Microsoft Office products) for a small business
  • http://ww2.justanswer.com/uploads/JE/jessmagz/2012-6-6_18129_jm.64x64.jpg Jess M.'s Avatar

    Jess M.

    Computer Support Specialist

    Satisfied Customers:

    270
    Computer Software Specialist for more than 10 years
  • http://ww2.justanswer.com/uploads/CH/chutz747/2011-11-6_14231_me.64x64.jpg The-PC-Guy's Avatar

    The-PC-Guy

    Computer Manager

    Satisfied Customers:

    260
    20 years experience providing remote computer support
  • http://ww2.justanswer.com/uploads/SE/Seashore2011/2011-12-6_33418_111205223015.64x64.jpg Chris L.'s Avatar

    Chris L.

    Support Specialist

    Satisfied Customers:

    120
    Certified Expert with over 10 years experience.
  • http://ww2.justanswer.com/uploads/SP/spherrod/2012-6-6_174244_1000852.64x64.JPG Steve Herrod's Avatar

    Steve Herrod

    Computer Support Specialist

    Satisfied Customers:

    116
    Trained in Microsoft Office from 2000 through to latest version 2010.
  • http://ww2.justanswer.com/uploads/KR/krkljatorm/2012-6-24_153417_ITMiro.64x64.jpg IT Miro's Avatar

    IT Miro

    Computer Scientist

    Satisfied Customers:

    94
    Bachelor's Degree in Information Technology, Microsoft Certified Professional