+ Reply to Thread
Results 1 to 6 of 6

Column name for Active cell and Sumif UDF (multiple criteria)

  1. #1
    Valued Forum Contributor mangesh.mehendale's Avatar
    Join Date
    06-04-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    510

    Column name for Active cell and Sumif UDF (multiple criteria)

    Namaste Everybody

    Is there any way either with formula or VBA to get column name in current cell..

    Please see attached sheet.. Also please help me to create UDF for this... It little time consuming process to new person to copy yellow marked region to new sheet and change reference accordingly.. I want to know is there any UDF for this which will directly handle formula in yellow marked region..

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by mangesh.mehendale; 10-29-2015 at 12:09 AM.
    Don`t care, take care...

    Regards,
    Mangesh

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: Column name in formula

    Hi,

    The current column letter can be obtained by this

    =LEFT(ADDRESS(1,COLUMN(),2),1+(COLUMN()>26))
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Valued Forum Contributor mangesh.mehendale's Avatar
    Join Date
    06-04-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    510

    Re: Column name in formula

    yes its working perfectly... Also can you help with UDF for that formula which if entered by any user will do all the work..???

  4. #4
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: Column name in formula

    I may be able to. Can you explain what your desired end result is and what is the necessity of the indirect referencing? Does the yellow table have to be below the main data, or could it be located elsewhere?

  5. #5
    Valued Forum Contributor mangesh.mehendale's Avatar
    Join Date
    06-04-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    510

    Re: Column name in formula

    Desired Result is after applying filter to Bank Name(Say selected NEFT) difference should be zero of (see Row 30 .. Total- Grand Total) and after applying filter Sumif formula will automatically takes Total with multiple criteria (say I have selected NEFT Total Earning sum is 196095 and all diff in Row 30 is zero)..

    No I cant locate it elsewhere because it is the summary for that particular month which is useful to make Bank wise payment (Say NEFT or other)..

    Need of Indirect reference is my data is not fixed every month due to resignation and new joining..

    see attached sheet.. I have applies filter and your formula (see row 30 diff is zero)...
    Attached Files Attached Files
    Last edited by mangesh.mehendale; 10-29-2015 at 12:15 AM.

  6. #6
    Valued Forum Contributor mangesh.mehendale's Avatar
    Join Date
    06-04-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    510

    Re: Column name for Active cell and Sumif UDF (multiple criteria)

    Experts please help.. see desired result in post #5

+ 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: 2
    Last Post: 05-21-2015, 10:41 PM
  2. Replies: 4
    Last Post: 01-16-2014, 12:17 AM
  3. [SOLVED] need formula to this logic, A column number B column blank then C column desired name
    By vengatvj in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 11-02-2013, 10:30 PM
  4. Replies: 3
    Last Post: 08-02-2013, 02:16 PM
  5. Replies: 1
    Last Post: 05-11-2013, 02:35 AM
  6. Replies: 5
    Last Post: 09-24-2012, 05:14 PM
  7. Replies: 2
    Last Post: 08-04-2006, 03:00 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