+ Reply to Thread
Results 1 to 5 of 5

VBA help..Need a code to input data & have it clear but save to another cell (make sense?)

Hybrid View

Jasmine Dee VBA help..Need a code to... 01-31-2014, 02:46 PM
p24leclerc Re: VBA help..Need a code to... 02-01-2014, 11:27 PM
Jasmine Dee Re: VBA help..Need a code to... 02-03-2014, 01:43 PM
jaslake Re: VBA help..Need a code to... 02-02-2014, 12:53 PM
p24leclerc Re: VBA help..Need a code to... 02-03-2014, 05:33 PM
  1. #1
    Registered User
    Join Date
    01-28-2014
    Location
    Vancouver
    MS-Off Ver
    Excel 2010
    Posts
    11

    Red face VBA help..Need a code to input data & have it clear but save to another cell (make sense?)

    Hi everyone,

    At work we are doing "Client Satisfaction Surveys" and I am in charge of inputting all the surveys into a data base.. Although I am good at data entry.. I don't know much about VBA (don't even know what it stands for tbh) or creating a database.

    Each question on our survey is a yes or no answer... and I would like to input a "1" under Yes each time we get a yes or a "1" under No each time we get the answer No.

    However, I would like for the "1" I input to disappear and then be automatically added to the cell underneath to total how many Yes's and how many No's we receive for each question.


    ..So for example if you open the attachment, under Ana's section, we have had 3 surveys what have answers Yes to Overall Satisfaction.. what I would like is for the 3 to appear in C4 so that C3 is where I put in a 1 each time we get another answer Yes to that question, then have C3 be cleared, and added to C4 automatically. I would like this for each question and each answer.. so for the first section, I would like this for C3 to P3. and then I would want this to happen for each staff member section (so also for Jenna from C11 to P11, and Jasmine, Kateryna, etc.)


    I have received help from another user to do this with Cells Q3, Q10, Q17, etc. so I know what I am trying to do is possible!

    Secondly, is there a way for each number inputted into Q3 be saved (so I am able to count how many 5's someone receives, and how many 7's and how many 10's, etc.) I was thinking making 10 columns (from S3 to AA3) numbered 1-10 and if there is a way for each time I add a number into Q3, it be saved under these columns. For example, if Ana gets 2 ratings of 5 and 1 rating of 10, I put this into Q3 (to get the average) and then it be saved in the S3 to AA3 cells... so a 2 in the column numbered 5, and a 1 under 10.

    I know I am asking for a lot but I know absolutely nothing about this stuff and I would make my life so much easier if it is possible!!

    I really appreciate it and if I could help you back in any way I would.. I can't imagine how I would be of any help though.. lol
    Attached Files Attached Files

  2. #2
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: VBA help..Need a code to input data & have it clear but save to another cell (make sen

    Give the attached workbook a try. It should work as you'd like, I hope.
    Regards
    Attached Files Attached Files
    Pierre Leclerc
    _______________________________________________________

    If you like the help you got,
    Click on the STAR "Add reputation" icon at the bottom.

  3. #3
    Registered User
    Join Date
    01-28-2014
    Location
    Vancouver
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: VBA help..Need a code to input data & have it clear but save to another cell (make sen

    Hi Pierre,

    Thank you so much it works exactly how I needed it.... I am wondering if it is possible to get cell B4 to update (+1) automatically when I input any number into Q3?

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: VBA help..Need a code to input data & have it clear but save to another cell (make sen

    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  5. #5
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: VBA help..Need a code to input data & have it clear but save to another cell (make sen

    There you are.
    Regards
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 03-13-2015, 03:39 AM
  2. Replies: 9
    Last Post: 02-01-2014, 07:55 PM
  3. Code references two different codes (I know I don't make sense)
    By floydian in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-11-2013, 06:37 PM
  4. Replies: 3
    Last Post: 05-25-2012, 08:52 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1