Results 1 to 4 of 4

Formula/macro - Apply certain formula as per duplicate cells in column L

Threaded View

  1. #3
    Forum Contributor
    Join Date
    01-29-2011
    Location
    Bristol, England
    MS-Off Ver
    Excel 2003
    Posts
    471

    Re: Formula/macro - Apply certain formula as per duplicate cells in column L

    I finally have had time to continue with my macros. God bless for weekends!
    JBeaucaire, you actually did solve it! Brilliant!!!!!

    Values in AF are supposed to change. Same goes with with AE. This was presented in the example though I did not mention it in explanations.
    Note how values in AE and AF and change.

    Before
    -------------- ------------L ------------------- --AB-- ---------------AC ---------------AD ---------------AE ----------------AF
    Row 2---- L57951111111 ------------ empty ---------------- 0 ---------------- 0 ----------------- 0 ----------------- 0
    Row 3---- L57951111111 ------------ empty ---------------- 0 ---------------- 5 ---------------- -2 ----------------- 3
    Row 4---- L57951111111 ------------ empty ---------------- 0 ---------------- 0 ---------------- -2 ---------------- -2
    Row 5---- L57951111111 ------------ empty ---------------- 0 ---------------- 0 ---------------- -2 ---------------- -2
    Row 6---- L57951111111 ------------ empty ---------------- 0 ---------------- 5 ----------------- 0 ----------------- 5
    Row 7---- L57951111111 ------------ empty ---------------- 0 ---------------- 0 ---------------- -2 ---------------- -2



    After
    -------------- ----------L ------------------ AB ---------------AC ---------------AD ----------------AE ----------------AF
    Row 2---- L57951111111 ------------ 0 ---------------- 0 ---------------- 0 ------------------ 0 ----------------- 0
    Row 3---- L57951111111 ------------ 0 ---------------- 0 ---------------- 5 ----------------- -2 ----------------- 3
    Row 4---- L57951111111 ------------ 3 ---------------- 0 ---------------- 0 ------------------ 1 ----------------- 1
    Row 5---- L57951111111 ------------ 1 ---------------- 0 ---------------- 0 ----------------- -1 ---------------- -1
    Row 6---- L57951111111 ----------- -1 ---------------- 0 ---------------- 5 ----------------- -1 ----------------- 4
    Row 7---- L57951111111 ------------ 4 ---------------- 0 ---------------- 0 ------------------ 2 ----------------- 2

    The real information that I am after is in AE. I just needed a formula to go into AB to complete it. And you formula works like charm. See attached spreadsheet where your formula produces exactly the result required on as per sheet "after",


    Could you be so kind and break the formula down and explain me in simple English how it works or what it does.
    Can talk me through step by step with LOOKUP(2,1/($L1:$L$1=$L2),$AF$1:$AF1)

    I just want to learn this technique for future references.


    Thank you for the formula.
    Amazing stuff
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

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