+ Reply to Thread
Results 1 to 3 of 3

Replacing Cell content based on intersection of Rows and Columns with specific values

  1. #1
    Registered User
    Join Date
    01-11-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    2

    Replacing Cell content based on intersection of Rows and Columns with specific values

    Hello,
    Can anyone suggest how I can select a cell based on row and column header values and replace that cell content?
    In other words, pseudo-code would be something like:
    Find all rows in Column A with value ("Cash" or "Totals for Cash")
    Now find all columns in Row 1 with title ("RoofType" or "Mountain") intersecting with rows found above and put in a value "TODELETE"

    I've uploaded a sample sheet that has the example worked out. Thank you very much!1.xlsx
    Last edited by lexis; 01-12-2012 at 01:29 AM.

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Replacing Cell content based on intersection of Rows and Columns with specific va

    You have a typo in your header "Mountainious" ?

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    01-11-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Replacing Cell content based on intersection of Rows and Columns with specific va

    Jie thank you very much! Your code is neat and simple. I got the transformation done easily and understood the syntax you put down perfectly. Thank you very much for the quick response. I've added to your reputation with the star.

+ Reply to Thread

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