Hello everyone,
This forum has basically taught me everything i now know in Excel and for that I am very grateful.
I seem to have run into an issue i cant figure out and cant seem to find the answer to, although i am probably not asking google the right questions.
What i am trying to do is consolidate data from a number of different sheets on the same book, into one sheet with all the info stacked on top of each other.
All the sheets have the same titles in row 1, however each sheet will have a different amount of information and therefore a different amount of rows.. some columns may even be empty as well as a few cells scattered around.
the one constant on each sheet would be Column C. which isalso be a good indication on how many rows are being used on each sheet.
I was attempting to use a formula that will reference column C on sheet2, and if the cells in Column C are not empty, to return whatever is in Column A, onto Sheet1, A1 and fill down.
i came up with:
=IF(Sheet2!C2<>"", Sheet2!A2)
I type the above into A2 on sheet1 (as A1 will have the title) then i drag down.
i then do the same thing with B2 in sheet1 and adjust the formula to
=IF(Sheet2!C2<>"", Sheet2!B2)
and so on.
this works great for sheet 2. but what I want it to do, is start to reference the top of Sheet3 once the C column in sheet2 shows a blank.
I thought this would work:
=IF(sheet2!C2<>"",sheet2!A2,IF(sheet3!C2<>"",sheet3!A2))
but by the time i get down to where column C is showing a blank in Sheet2, it is returning the information on sheet3 from Row130 instead of the top.
is there any way to make it reference the top? or is there a completely different formula all together?
I understand there might be a way to use Macro to achieve this, but i am not very good at macros and doubt id be able to fix anything if it broke, or recreate it if i needed to.
Any help would be very much appreciated.
Thanks in advance,
James
Bookmarks