Results 1 to 2 of 2

Moving Column depending on Source

Threaded View

  1. #1
    Registered User
    Join Date
    04-12-2021
    Location
    Germany
    MS-Off Ver
    Office 2019
    Posts
    1

    Moving Column depending on Source

    Hey everyone,

    It's my first VBA project.

    Target: I want to create a reporting tool which combines expected and actual revenues of online shops in one view.

    I got two sources: "Expected Values" and "Actual Values". The third file is the target file I'm trying to achieve.

    I want the Subtotal to move depending on the evolving "Actual Values". -> In the case we are in Week 5, we know the total revenues of week 1-4. Therefore I want them to be shown in the reporting tool. The Weeks 5-26 aren't known for sure know. But we died some calculations so we have "Expected values". I want them to be added to the list behind the Subtotal.

    With every Week passing by I will update the "Actual Values" list. I want the Subtotal to move with the Weeks.

    My steps for the solutions:

    1. I need an If formula which gets whether we have actual values or not and copies them to the Reporting file (like in my added sheet).
    2. I need a VBA which fills a column behind the last "Actual Value". I tried to connect it to the highest available week from the file "Actual Value". Yet I didn't get how to do that.
    3. I need a VBA which fills the insertet column with =Sum(Week1-Max(Week))


    Thanks for your help!!!

    I'm a total noob in Makro
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Moving info from 1 tab to another depending on date??
    By Frazzfreeman in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 04-27-2012, 01:59 AM
  2. Changing Source column for formula depending on month
    By john_london in forum Excel General
    Replies: 2
    Last Post: 10-01-2010, 10:36 AM
  3. Moving to the next cell depending on the answer
    By up_and_under in forum Excel General
    Replies: 1
    Last Post: 07-23-2010, 10:01 AM
  4. Moving a row of text to another worksheet depending on a column
    By cherieA in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-30-2010, 06:01 PM
  5. Moving Cells depending on content
    By smspencer69 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-27-2009, 06:02 PM
  6. Moving data depending on input
    By Server2008R2 in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 07-14-2009, 04:50 AM
  7. Moving data depending on input
    By Server2008R2 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-07-2009, 05:56 PM
  8. moving to another sheet depending on word
    By iajm@msn.com in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-19-2009, 05:57 PM

Tags for this Thread

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