Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
i have 600 potential payees in an excel spreadsheet. Of these only 20%
receive payment in any one week. By using macros I can produce a worksheet showing all payees paid in any one week, hiding all others. However the resulting spreadsheet still retains the original row numbers as the zero value rows are only hidden. Is there any way that I can have the spreadsheet ignore the original row references so that the first payee is shown in row 1, the seconf in row 2 etc?Thanks |
#2
![]() |
|||
|
|||
![]()
Rewrite the macro?
If you tell us the code someone may point the way. best wishes -- Bernard V Liengme www.stfx.ca/people/bliengme remove caps from email "dave glynn" wrote in message ... i have 600 potential payees in an excel spreadsheet. Of these only 20% receive payment in any one week. By using macros I can produce a worksheet showing all payees paid in any one week, hiding all others. However the resulting spreadsheet still retains the original row numbers as the zero value rows are only hidden. Is there any way that I can have the spreadsheet ignore the original row references so that the first payee is shown in row 1, the seconf in row 2 etc?Thanks |
#3
![]() |
|||
|
|||
![]()
Hi Bernard
Thanks for answering. The code simply goes through each row and hides the rows where the value in column D is zero. As a result I get a nice tidy sheet with only the positive values showing. In turn this is transferred to the bank's system so tht I can make the payments. The zero value rows are only hidden. I want to produce another sheet where only the positive values appear so as to avoid the banks system havving to read 600 entries, most of which are zero vales. In the ideal world the value of (say) row17 would appear on row 1 of the new sheet etc. However next week it might be that row 12 is the first payee etc. Simply I want to take (say) 100 rows from sheet 1, regardless of row number and transfer them to the first hundred rows on sheet 2. Thanks Dave. ps: I tried to run the macro with "delete" instead of hide but it got stuck once it eliminated the first row. The first "Bernard Liengme" wrote: Rewrite the macro? If you tell us the code someone may point the way. best wishes -- Bernard V Liengme www.stfx.ca/people/bliengme remove caps from email "dave glynn" wrote in message ... i have 600 potential payees in an excel spreadsheet. Of these only 20% receive payment in any one week. By using macros I can produce a worksheet showing all payees paid in any one week, hiding all others. However the resulting spreadsheet still retains the original row numbers as the zero value rows are only hidden. Is there any way that I can have the spreadsheet ignore the original row references so that the first payee is shown in row 1, the seconf in row 2 etc?Thanks |
#4
![]() |
|||
|
|||
![]()
Insert a new Column A (give it the headername NewRow#
In (new) A1 enter =subtotal(3,$A$1:A1) copy down from A2:A600 Engage the Auto-Filter on your table of data. Now Select from the appropriate FieldHeader dropdown the current weeks checks Only your Current weeks check should be visible. Check out the content of Column A (now) !! Does it Look like you want it to? HTH "Bernard Liengme" wrote in message ... Rewrite the macro? If you tell us the code someone may point the way. best wishes -- Bernard V Liengme www.stfx.ca/people/bliengme remove caps from email "dave glynn" wrote in message ... i have 600 potential payees in an excel spreadsheet. Of these only 20% receive payment in any one week. By using macros I can produce a worksheet showing all payees paid in any one week, hiding all others. However the resulting spreadsheet still retains the original row numbers as the zero value rows are only hidden. Is there any way that I can have the spreadsheet ignore the original row references so that the first payee is shown in row 1, the seconf in row 2 etc?Thanks |
#5
![]() |
|||
|
|||
![]()
In (new) A1 enter
better make that In A2 enter "Jim May" wrote in message news:aa3Sd.52466$EG1.6656@lakeread04... Insert a new Column A (give it the headername NewRow# In (new) A1 enter =subtotal(3,$A$1:A1) copy down from A2:A600 Engage the Auto-Filter on your table of data. Now Select from the appropriate FieldHeader dropdown the current weeks checks Only your Current weeks check should be visible. Check out the content of Column A (now) !! Does it Look like you want it to? HTH "Bernard Liengme" wrote in message ... Rewrite the macro? If you tell us the code someone may point the way. best wishes -- Bernard V Liengme www.stfx.ca/people/bliengme remove caps from email "dave glynn" wrote in message ... i have 600 potential payees in an excel spreadsheet. Of these only 20% receive payment in any one week. By using macros I can produce a worksheet showing all payees paid in any one week, hiding all others. However the resulting spreadsheet still retains the original row numbers as the zero value rows are only hidden. Is there any way that I can have the spreadsheet ignore the original row references so that the first payee is shown in row 1, the seconf in row 2 etc?Thanks |
#6
![]() |
|||
|
|||
![]()
Thanks Jim gonna try it now
Dave "Jim May" wrote: In (new) A1 enter better make that In A2 enter "Jim May" wrote in message news:aa3Sd.52466$EG1.6656@lakeread04... Insert a new Column A (give it the headername NewRow# In (new) A1 enter =subtotal(3,$A$1:A1) copy down from A2:A600 Engage the Auto-Filter on your table of data. Now Select from the appropriate FieldHeader dropdown the current weeks checks Only your Current weeks check should be visible. Check out the content of Column A (now) !! Does it Look like you want it to? HTH "Bernard Liengme" wrote in message ... Rewrite the macro? If you tell us the code someone may point the way. best wishes -- Bernard V Liengme www.stfx.ca/people/bliengme remove caps from email "dave glynn" wrote in message ... i have 600 potential payees in an excel spreadsheet. Of these only 20% receive payment in any one week. By using macros I can produce a worksheet showing all payees paid in any one week, hiding all others. However the resulting spreadsheet still retains the original row numbers as the zero value rows are only hidden. Is there any way that I can have the spreadsheet ignore the original row references so that the first payee is shown in row 1, the seconf in row 2 etc?Thanks |
#7
![]() |
|||
|
|||
![]()
Hi Jim,
It works and gives me the same result as the macro but much more effectively. However I am still stuck with the same row numbers. For example my first payee this week is in row 17; the next in row 43 and so on. Ultimately I have to send a file to the bank where row 17 on the old sheet is on row 1 of a new sheet, 43 of the old on 2 of the new etc.. Thanks again Dave "Jim May" wrote: In (new) A1 enter better make that In A2 enter "Jim May" wrote in message news:aa3Sd.52466$EG1.6656@lakeread04... Insert a new Column A (give it the headername NewRow# In (new) A1 enter =subtotal(3,$A$1:A1) copy down from A2:A600 Engage the Auto-Filter on your table of data. Now Select from the appropriate FieldHeader dropdown the current weeks checks Only your Current weeks check should be visible. Check out the content of Column A (now) !! Does it Look like you want it to? HTH "Bernard Liengme" wrote in message ... Rewrite the macro? If you tell us the code someone may point the way. best wishes -- Bernard V Liengme www.stfx.ca/people/bliengme remove caps from email "dave glynn" wrote in message ... i have 600 potential payees in an excel spreadsheet. Of these only 20% receive payment in any one week. By using macros I can produce a worksheet showing all payees paid in any one week, hiding all others. However the resulting spreadsheet still retains the original row numbers as the zero value rows are only hidden. Is there any way that I can have the spreadsheet ignore the original row references so that the first payee is shown in row 1, the seconf in row 2 etc?Thanks |
#9
![]() |
|||
|
|||
![]()
Just curious, but check your File, PageSetup, Sheet, Print Section for Row
and Column Headings.. Is it by chance checked? If so, Uncheck it.. If it was - Does that help? Jim "dave glynn" wrote in message ... Hi Jim, It works and gives me the same result as the macro but much more effectively. However I am still stuck with the same row numbers. For example my first payee this week is in row 17; the next in row 43 and so on. Ultimately I have to send a file to the bank where row 17 on the old sheet is on row 1 of a new sheet, 43 of the old on 2 of the new etc.. Thanks again Dave "Jim May" wrote: In (new) A1 enter better make that In A2 enter "Jim May" wrote in message news:aa3Sd.52466$EG1.6656@lakeread04... Insert a new Column A (give it the headername NewRow# In (new) A1 enter =subtotal(3,$A$1:A1) copy down from A2:A600 Engage the Auto-Filter on your table of data. Now Select from the appropriate FieldHeader dropdown the current weeks checks Only your Current weeks check should be visible. Check out the content of Column A (now) !! Does it Look like you want it to? HTH "Bernard Liengme" wrote in message ... Rewrite the macro? If you tell us the code someone may point the way. best wishes -- Bernard V Liengme www.stfx.ca/people/bliengme remove caps from email "dave glynn" wrote in message ... i have 600 potential payees in an excel spreadsheet. Of these only 20% receive payment in any one week. By using macros I can produce a worksheet showing all payees paid in any one week, hiding all others. However the resulting spreadsheet still retains the original row numbers as the zero value rows are only hidden. Is there any way that I can have the spreadsheet ignore the original row references so that the first payee is shown in row 1, the seconf in row 2 etc?Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do i copy columns of data in notepad into microsoft excel? | Excel Discussion (Misc queries) | |||
How do i copy columns of data in notepad into microsoft excel? | Excel Discussion (Misc queries) | |||
How do i copy columns of data in notepad into microsoft excel? | New Users to Excel | |||
How do i copy columns of data in notepad into excel? | Excel Discussion (Misc queries) | |||
Pulling data from 1 sheet to another | Excel Worksheet Functions |