+ Reply to Thread
Results 1 to 3 of 3

Copy cell value in Column A if 2 SUM <0

  1. #1
    Registered User
    Join Date
    04-28-2023
    Location
    Italy
    MS-Off Ver
    standard 2010
    Posts
    2

    Copy cell value in Column A if 2 SUM <0

    Hi guys, im struggling with a vba code, tried something but didnt work, so maybe someone can help me here, since im pretty new to the vba coding thing.

    I need to move E2 in A2 if L7-L22<0 or L7-L33<0 . This every 45 rows after these, so E47 in A47 if L52-L67<0 or L52-L78<0. In E i have the product name, in L7 (+45 Loop) my daily stock, in L22 (+45 loop) and L33 (+45 loop) i have daily preorders and daily forecasts. I want to see The product name in column A of the same row if the difference is negative, so i can filter, remove empties and know the codes where im understock . I have something around 500 products so is gonna be long for me to eye check one by one like i was taught. If anyone can help me i'd be so happy, since i tried on my own but i failed

    thank you for your help!

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Copy cell value in Column A if 2 SUM <0

    Welcome to the forum

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    04-28-2023
    Location
    Italy
    MS-Off Ver
    standard 2010
    Posts
    2

    Re: Copy cell value in Column A if 2 SUM <0

    Here it is, in the before window there are the underlined the cells i need to be processed. I hope it's all clear, thank you for your support!
    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: 1
    Last Post: 04-14-2023, 01:25 PM
  2. [SOLVED] copy the word within the cell of a column and paste in other cell of column
    By anuwers in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 06-12-2020, 06:19 PM
  3. [SOLVED] If Cell in column B is empty, do not copy. Otherwise copy respective cell in Column A
    By pelbert in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-30-2020, 09:23 PM
  4. Replies: 4
    Last Post: 05-03-2019, 03:11 AM
  5. [SOLVED] copy text in column b cell if column a cell is not empty
    By El Conquistador in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-08-2013, 09:43 AM
  6. [SOLVED] if cell x in column D has a specific value then copy cell x from column A to sheet B
    By new@excel in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 03-28-2013, 07:26 PM
  7. [SOLVED] Loop-copy cell values from a row, and then copy them into a column
    By vukovicnikola in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-15-2012, 06:03 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