+ Reply to Thread
Results 1 to 4 of 4

Compare data from 2 differnt tabs and retun the differnce

  1. #1
    Forum Contributor
    Join Date
    04-06-2017
    Location
    Wolverhampton
    MS-Off Ver
    Office 365
    Posts
    471

    Compare data from 2 differnt tabs and retun the differnce

    Hello All

    please see attached

    Customer Daily data is pasted into the tabs below, Mondays on Monday, Tuesdays on Tuesday and so on…

    Each day that passes the day moves to the left column and new 1 more day’s data will appear (I’ve color coded the cells to hopefully show this)

    I would like a comparison of the current days data and the previous day’s data, showing what it’s increased by or decreased from the previous day

    I’ve used Friday, Monday & Tuesday as examples
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,563

    Re: Compare data from 2 differnt tabs and retun the differnce

    Perhaps this will be of some help.
    1) The tab titles have been changed to text dates formatted "mdyyy"
    2) The date for 'Today' has been added
    3) The formula that shows the change is: =G3-INDIRECT($W$1&"!"&ADDRESS(ROW(),COLUMN()+1))
    Note: the formula assumes that the parts will be in order as shown in the file attached to post #1.
    4) W1 is populated using: =TEXT(WORKDAY(G2,-1),"mdyyy")
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Forum Contributor
    Join Date
    04-06-2017
    Location
    Wolverhampton
    MS-Off Ver
    Office 365
    Posts
    471

    Re: Compare data from 2 differnt tabs and retun the differnce

    that's great, it works perfectly

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,563

    Re: Compare data from 2 differnt tabs and retun the differnce

    Glad that it does. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

+ 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. how to compare data in 2 tabs, graphically?
    By eeinkee in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-16-2016, 08:07 AM
  2. Check data and Highlight Differnce before Save
    By kannan1847 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-06-2015, 12:31 AM
  3. [SOLVED] Compare data on two tabs and populate diffrences on new tab
    By robertguy in forum Excel General
    Replies: 3
    Last Post: 01-24-2014, 09:57 AM
  4. [SOLVED] Compare Data from Two different tabs and to identify variance items
    By Excel Dumbo in forum Excel General
    Replies: 4
    Last Post: 10-16-2012, 10:58 PM
  5. Compare Two columns in differnt sheets
    By agarcia0742 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-13-2012, 09:42 AM
  6. Replies: 10
    Last Post: 07-10-2012, 03:01 PM
  7. Add up differnt variables in differnt named ranges
    By danielgri14 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 04-09-2011, 09:40 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