ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Copy information down specific cells (https://www.excelbanter.com/excel-programming/332457-copy-information-down-specific-cells.html)

Ellac

Copy information down specific cells
 

Hi everyone, hope you can help.

I have a large spreadsheet with a vlookup in two columns that looks up
and updates from two other workbooks.

The problem is that I would like to copy the titles above each group of
data each time it says #N/A.

example:
CLUB Test
0 0
#N/A #N/A
#N/A #N/A
#N/A #N/A
CLUB Hello
#N/A #N/A
#N/A #N/A
#N/A #N/A
One Three
#N/A #N/A
#N/A #N/A
You can see by the examples that the titles change and I need excel to
pick up the titles above each group.

Thanks in Advance.


--
Ellac
------------------------------------------------------------------------
Ellac's Profile: http://www.excelforum.com/member.php...o&userid=24502
View this thread: http://www.excelforum.com/showthread...hreadid=380977


Dave Peterson[_5_]

Copy information down specific cells
 
In A2:

=if(iserror(yourvlookupformula()),a1,yourvlookupfo rmula)



Ellac wrote:

Hi everyone, hope you can help.

I have a large spreadsheet with a vlookup in two columns that looks up
and updates from two other workbooks.

The problem is that I would like to copy the titles above each group of
data each time it says #N/A.

example:
CLUB Test
0 0
#N/A #N/A
#N/A #N/A
#N/A #N/A
CLUB Hello
#N/A #N/A
#N/A #N/A
#N/A #N/A
One Three
#N/A #N/A
#N/A #N/A
You can see by the examples that the titles change and I need excel to
pick up the titles above each group.

Thanks in Advance.

--
Ellac
------------------------------------------------------------------------
Ellac's Profile: http://www.excelforum.com/member.php...o&userid=24502
View this thread: http://www.excelforum.com/showthread...hreadid=380977


--

Dave Peterson


All times are GMT +1. The time now is 02:28 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com