+ Reply to Thread
Results 1 to 10 of 10

How to dynamically apply the Row and column name

  1. #1
    Registered User
    Join Date
    12-12-2014
    Location
    India
    MS-Off Ver
    10
    Posts
    27

    How to dynamically apply the Row and column name

    Hi Team,

    In excel macro, I have created a function which takes the data from another excel sheet and assigned it into table. Currently I am giving hard coded values into the Cells(row, column keyword. Now I would like to dynamically assign the Row and Column number values into the variables on the basis of any particular keyword, from where counting can get start.

    For more details please refer the attached spreadsheet and help me to create such formula. Thanks!
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: How to dynamically apply the Row and column name

    Try this...

    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: How to dynamically apply the Row and column name

    Hi,

    This looks like a Dynamic Named Range problem to me. Read about them at:
    http://www.bettersolutions.com/excel...G820716330.htm or
    http://www.ozgrid.com/Excel/DynamicRanges.htm
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    12-12-2014
    Location
    India
    MS-Off Ver
    10
    Posts
    27

    Re: How to dynamically apply the Row and column name

    Thanks for your help.
    Above function is giving me correct column number, however Row number is not getting correctly calculated. Can you please help me on that. Thanks !

  5. #5
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: How to dynamically apply the Row and column name

    What is your expected row number as per your example file?

  6. #6
    Registered User
    Join Date
    12-12-2014
    Location
    India
    MS-Off Ver
    10
    Posts
    27

    Re: How to dynamically apply the Row and column name

    I have attached new file. Please have a look. AS per this my expected column number is 22 and Row is 14. Thanks a lot for your help.
    Attached Files Attached Files

  7. #7
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: How to dynamically apply the Row and column name

    Oopsss... My mistake I made both statement as column

    Just replace this line

    Please Login or Register  to view this content.
    With

    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    12-12-2014
    Location
    India
    MS-Off Ver
    10
    Posts
    27

    Re: How to dynamically apply the Row and column name

    Its working as expected now. Thank you very much.

  9. #9
    Registered User
    Join Date
    11-26-2014
    Location
    Abu Dhabi
    MS-Off Ver
    2010
    Posts
    1

    Exclamation copy group of data to row from column

    Dear Friends,

    Please Help me on my issue. I have huge data in Column B and I want to copy and paste it in the Raw. I need to copy all data only from 16 cells in column B ( from Cell B1 to B16 and to be pasted to the row cell D1 to S1) I used transpose function but it is not giving the result the way i want to. please go through the attachment and help me to solve the issue ASAP. Thank you Unit Charectr.xlsx

  10. #10
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,620

    Re: How to dynamically apply the Row and column name

    @tason,
    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    Ben Van Johnson

+ 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. Apply formula to all cells in column C for all populated cell in column A
    By mrplow911 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-18-2014, 11:19 AM
  2. Apply a formula in a new column that pulls unique values from another column
    By shepherdc2814 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-24-2014, 10:04 PM
  3. Dynamically apply filter and copy data and paste in another file
    By iamronakjain in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-11-2014, 09:25 AM
  4. Replies: 1
    Last Post: 02-21-2013, 06:37 PM
  5. How to update a column dynamically depending on other column
    By krishnamohan in forum Excel General
    Replies: 0
    Last Post: 08-10-2010, 04:32 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