+ Reply to Thread
Results 1 to 5 of 5

A column subtracted from B column and get the result in the same B column as well.

  1. #1
    Registered User
    Join Date
    05-21-2020
    Location
    UK
    MS-Off Ver
    00212
    Posts
    3

    A column subtracted from B column and get the result in the same B column as well.

    Hi. I have a fairy easy question but I cannot get my head around it how to do.
    I want to get A column subtracted from B column and get the result in the same B column as well. I want this formula to applies in VBA code for the whole column in the table and ignore the blank cells in A column.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,223

    Re: A column subtracted from B column and get the result in the same B column as well.

    Please Login or Register  to view this content.
    Artik

  3. #3
    Registered User
    Join Date
    05-21-2020
    Location
    UK
    MS-Off Ver
    00212
    Posts
    3

    Re: A column subtracted from B column and get the result in the same B column as well.

    Hi, thank you for reply. It looks like it is working in template. Couple function missing, select rows if "A" not empty and clear contents and copy and paste another page
    Can you leave comments each line, more understand the VBA code.
    Thank you
    Last edited by Attila80; 09-02-2021 at 02:40 AM.

  4. #4
    Registered User
    Join Date
    05-21-2020
    Location
    UK
    MS-Off Ver
    00212
    Posts
    3

    Re: A column subtracted from B column and get the result in the same B column as well.

    Good evening,

    I try in original database, sorry but I got an error message

    a little different the original database like I share, when I did ask I not think enough I well get formula like this. I need more explain about this VBA code .
    Thank you.

  5. #5
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,712

    Re: A column subtracted from B column and get the result in the same B column as well.

    Hi Attila80,

    Try below code based on the sample file provided in post #1 ... It is missing the sorting as I am not sure which sheet to sort
    Please Login or Register  to view this content.
    If I was able to help, you can thank me by clicking the * Add Reputation under my user name

+ 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: 7
    Last Post: 04-17-2020, 08:45 AM
  2. Replies: 0
    Last Post: 03-07-2016, 08:38 PM
  3. Replies: 1
    Last Post: 12-28-2015, 08:43 AM
  4. [SOLVED] Dynamic search; using column # result to determine column used for column/row match.
    By David Brunk in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-18-2014, 09:57 PM
  5. [SOLVED] Search Value of column E if exist return value of column B put result in column P
    By hassan khansa in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-23-2013, 11:39 AM
  6. Add Date in Column A Plus Number of Days in Column B and show result in Column C
    By excelforumcrisis in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-12-2013, 02:01 PM
  7. Ping Host Name Column A IP address Result column B Response time Column c
    By NickMac in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-13-2012, 03:23 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