?
Solved

Need an if statement that looks at the next column after seeing an x in current column

Posted on 2013-01-24
2
Medium Priority
?
247 Views
Last Modified: 2013-01-24
I have a file with columns A through AQ. Each column has 51 rows.  I am trying to transfer all of the information in across columns A through AQ, down column A.

I put an X in the 51st row of each column, but I can't figure out how to make a formula that reads the X and then goes to the top of the next column.

Thanks!
0
Comment
Question by:Dominator1025
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 2000 total points
ID: 38816065
Try this formula in A52 filled down -

=INDEX(B$1:AQ$51,MOD(ROWS(A$52:A52)-1,51)+1,INT((ROWS(A$52:A52)-1)/51)+1)

You will get all the data from the other columns down to row 51

if you don't want the "x"s in row 51 then start at A51 and use this version:

=INDEX(B$1:AQ$50,MOD(ROWS(A$51:A51)-1,50)+1,INT((ROWS(A$51:A51)-1)/50)+1)

regards, barry
0
 

Author Closing Comment

by:Dominator1025
ID: 38816137
Awesome, thanks!

One more question about adding a header in column B next to the data we just put in column A, will post shortly.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question