Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8091173
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T19:59:02+00:00 2026-06-05T19:59:02+00:00

Excel n00b here. I am able to do simple stuff with Excel (simple, meaning

  • 0

Excel n00b here. I am able to do simple stuff with Excel (simple, meaning stuff most people can’t do, but far less than the experts).

I have been trying different ways to pull data from a sheet that is not well put together (I download periodic reports from the local government, so I have no control over the base Excel file).

The sheet has an identifier column (Plaintiff / Defendant), which then has two empty cells below it (which accounts for the next column). The next column has the name of the party in one cell, then the cell below has their address. The problem is that it is formatted as merged cells, so the address being in one cell is merged with the third cell down. The other problem is that periodically there is a blank row or rows between the entries. Looks like this (sorry for the ugly formatting)

IDENTIFIER          PARTY/ADDRESS
Plaintiff           DOE JOHN
                    1313 Mockingbird Lane <-row (merged, contains entire address)
                    Winchester, MA 00000

Defendant           DOE JANE
                    100 Whatever Way
                    Boston, MA 000000

First I tried doing something like this to copy over a name IF a condition is met:

=IF(A2 = "Defendant:", B2, "")

which would copy the name over. Except I couldn’t figure out how to copy the next one cell down (really two because of the merge), so that I would end up with:

                    DOE JANE
                    100 Whatever Way
                    Boston, MA 000000

Because of the extra rows I couldn’t apply the same IF statement for the address. Trying to select “Blank” rows won’t work, because it would pick the empty cells beneath the identifier and also pick the “empty” merged cell – it would warp the whole sheet.

I also tried conditional formatting like:

=OR($A2 = "Defendant:")

and applied coloring to that row, but again, I don’t know how to select the address cell(s). When I filter on the color it just shows “Defendant: NAME”.

I was hoping to avoid VBA if at all possible.

Any suggestions? Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T19:59:03+00:00Added an answer on June 5, 2026 at 7:59 pm

    You may be interested in these two functions:

    • MATCH() finds the index of the first cell containing a certain value.
    • OFFSET() selects a cell that is a certain number of rows/columns from a specific cell.

    for example, in your case you might use the formula to select Plaintiff’s address:

    =OFFSET(B1, MATCH("Plaintiff", $A$2:$A$20, 0), 0)
             ^     ^  ^---------^  ^--------^  ^   ^
           offset  |       |            |      |   column offset
         from here |   search for       |   do exact
                   |      this          |     match
                   |                where to 
               row offset            search
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Excel 2003 had a simple ...interior.colorindex and only 56 numbers. But, this is changed
In Excel, let's say I have 5 columns, but not all of the time
In Excel 2003 I can access the collection Application.CommandBars to create custom toolbars using
Versions Excel 2003 Windows XP SimaPro 7.3.0 Developer Version Using a Work computer but
In excel, say I am trying to find average of 5 cells, I can
Excel: What function can I use to take the all the characters from the
My excel spreadsheet works fine when the dll has an absolute path, but when
Can excel web services be used to create pivot grids from asp.net or silverlight?
Excel returns a reference of the form =Sheet1!R14C1R22C71junk (junk won't normally be there, but
using Excel 2007 and VBA 6.5 I'm trying to automate a data collection task,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.