+ Reply to Thread
Results 1 to 7 of 7

Enter a number into a cell that does a sum in background and returns the value

  1. #1
    Registered User
    Join Date
    02-05-2014
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    16

    Enter a number into a cell that does a sum in background and returns the value

    Dear All

    I have been searching the web to help me with my latest excel issue, and I think it comes back to having to use VBA to solve it. It is a basic cash checker worksheet that i need to work out cash values.

    I want to enter a value into B2 (for example 3) that will return the answer of B2*B3 (3*£50) and put it in cell B2. (£150) I hope i have been clear enough to make sense.

    I have uploaded the worksheet becuase i have no clue about VBA's, how to work them out or even where to put them, I was hoping someone has the knowledge to help me?


    Thanks for helping
    Gary
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Enter a number into a cell that does a sum in background and returns the value

    Please Login or Register  to view this content.
    Kind regards
    Leo
    Attached Files Attached Files

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,937

    Re: Enter a number into a cell that does a sum in background and returns the value

    an alternative:

    Put a command button on your sheet and attach this code to the button
    Please Login or Register  to view this content.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Registered User
    Join Date
    02-05-2014
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Enter a number into a cell that does a sum in background and returns the value

    Quote Originally Posted by LeoTaxi View Post
    Please Login or Register  to view this content.
    Kind regards
    Leo
    Many thanks for your help Leo.

    The worksheet doesn't do what i need it to do

  5. #5
    Registered User
    Join Date
    02-05-2014
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Enter a number into a cell that does a sum in background and returns the value

    Quote Originally Posted by alansidman View Post
    an alternative:

    Put a command button on your sheet and attach this code to the button
    Please Login or Register  to view this content.
    Thanks for the help alansidman

    I tried adding it as a button, but it didn't do what i need it to. I must have explained myself worng I have uploaded 2 screen shots to what I'm trying to explain

    Type a nember in a cell, click onto another cell and the macro change that number by multiplying it by the cash vaulue it represents... for example in the help pictures it changes 3 in 3*£50=£150

    Regards
    Gary
    Attached Images Attached Images

  6. #6
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Enter a number into a cell that does a sum in background and returns the value

    Please Login or Register  to view this content.
    Kind regards
    Leo
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    02-05-2014
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Enter a number into a cell that does a sum in background and returns the value

    Quote Originally Posted by LeoTaxi View Post
    Please Login or Register  to view this content.
    Kind regards
    Leo
    Perfect!!! - Genius, Many thanks

    Gary

+ 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. [SOLVED] Enter number in blank cell match number on sheet 2 & enter data from adjacent cell
    By Bikeman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-10-2015, 08:36 PM
  2. [SOLVED] Enter a number in a Textbox then find the number in a cell to activate Hyperlink
    By lapot in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-06-2014, 10:26 AM
  3. [SOLVED] Show number in cell based on cell background colour
    By philjuk in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 12-11-2013, 02:04 PM
  4. Replies: 0
    Last Post: 08-06-2013, 06:15 AM
  5. [SOLVED] How do I create a button to enter a number in a cell and then tab/enter to next cell
    By MatiasGarcia in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-21-2013, 05:29 PM
  6. Replies: 3
    Last Post: 11-17-2005, 03:10 PM
  7. [SOLVED] When I enter a number in an empty cel, de cel returns the value d.
    By Paul KdN in forum Excel General
    Replies: 2
    Last Post: 01-13-2005, 06:06 AM

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