Find Empty cell enter value then continue to next

CrashOD

Board Regular
Joined
Feb 5, 2019
Messages
118
Office Version
  1. 2021
  2. 2016
Platform
  1. Windows
Find First Empty cell in range A:A (say does end A10) and count only the none Empty cells and enter value to B1.
Then continues down (Say Ends A22) and count only the none Empty cells and enter value to B2.
Ect. Till end of book.
So for this B1 would have 9 since A10 is empty and B2 would have 11 since A11 - A21 have data.

Thanks so much!
 
=IF(B4<>"", '[2022 - ECT - Real Estate - Copy.xls]RPT 1'!A("B4"+2,1), "")
NAME ERROR.
try this one:
Rich (BB code):
=IF(B3<>"",INDEX( '[2022 - ECT - Real Estate - Copy.xls]RPT 1'!A:A,B3+3), "")

!A(B3+3) is not a recognised cell reference in excel.
 
Upvote 0

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
thanks worked for two cells but now just showing me the code.

I changed the format to the same as the ones that are working. still no luck.
 

Attachments

  • 123456789.png
    123456789.png
    69.7 KB · Views: 3
Upvote 0
thanks worked for two cells but now just showing me the code.

I changed the format to the same as the ones that are working. still no luck.
after set the format, select column A, Ctrl+H, enter = in the first textbox and enter = in the bottom textbox, click replace all.
 
Upvote 0
Thank you very much. I have other Excel worksheets that kept just showing me the code and I could not figure out why but I never thought about doing a replace. I would end up just redoing the whole entire workbook again and hopes that the command wouldn't show. Lol so I wasted hours upon hours and days redoing books when I get adjusted that. Lol.

All right now all I got to do is get the first code that you helped me with to get the total of the non blank cells. To show if a letter D is above the blank row. Once I end up figuring that out I can modify the code first the letter F or P is above it for the other columns.
 
Upvote 0
=LET(t,FREQUENCY(IF('[2022 - ECT - Real Estate - Copy.xls]RPT 1'!D2:D1005="D",ROW('[2022 - ECT - Real Estate - Copy.xls]RPT 1'!D2:D1005)),IF('[2022 - ECT - Real Estate - Copy.xls]RPT 1'!D2:D1005="",ROW('[2022 - ECT - Real Estate - Copy.xls]RPT 1'!D2:D1005))),FILTER(t,t))
brings value if letter D
so how do i get it to look a B3 and if B3 is empty it runs =LET(t,FREQUENCY(IF('[2022 - ECT - Real Estate - Copy.xls]RPT 1'!D2:D1005="F",ROW('[2022 - ECT - Real Estate - Copy.xls]RPT 1'!D2:D1005)),IF('[2022 - ECT - Real Estate - Copy.xls]RPT 1'!D2:D1005="",ROW('[2022 - ECT - Real Estate - Copy.xls]RPT 1'!D2:D1005))),FILTER(t,t))

i tried
=LET(t,FREQUENCY(IF(B3<>"",'[2022 - ECT - Real Estate - Copy.xls]RPT 1'!D2:D1005,ROW('[2022 - ECT - Real Estate - Copy.xls]RPT 1'!D2:D1005)),IF('[2022 - ECT - Real Estate - Copy.xls]RPT 1'!D2:D1005="",ROW('[2022 - ECT - Real Estate - Copy.xls]RPT 1'!D2:D1005))),FILTER(t,t))
i get a #calc! error and when copy code all the way down shows 0
 

Attachments

  • 123456789.png
    123456789.png
    49.8 KB · Views: 4
Upvote 0

Forum statistics

Threads
1,214,938
Messages
6,122,346
Members
449,080
Latest member
Armadillos

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top