Hi ,
It looks like you're using an ad blocker.



The revenue generated from the adverts on the site is a critical part of our funding - and it's because of these ads that I can offer the site for free. But using the site for free AND blocking the ads doesn't feel like a great thing to do, which is why this box is so large and inconvenient. Some sites will completely block your access, but I'm not doing that - I'm appealing to your good nature instead. Did you know that you can allow ads for specific sites, whilst still blocking them on others?

Thanks,
Ian Williams aka Fetch
or for an ad-free Fetcheveryone experience!

SpreadEveryone: The Fetchland Excel wire

102 watchers
um
Aug 2022
10:50am, 12 Aug 2022
6,387 posts
  • Quote
  • Pin
um
OK, so =MATCH(TRUE,INDEX(A4:Z4<>"",),0) will return a numeric value of the first non empty column in the array, so in this case, 1 is A, 2 is B etc.

You can then use the countblank substituting the numeric with the cell alpha.
eg something like =COUNTBLANK(INDIRECT("F"&"4:z4")) - if the value from the first function was 6, where you have a table somewhere substituting column numbers to letters and swap the "F" for that.

You could build it all into one formula in a cell, but I'd be tempted to do it in a separate sheet. So (eg) for each row, col A has the match function referenced back tt the source sheet. Col B has the empty cell count

Or - you could just do countblank for the whole row, minus the result of the match formula to remove any preceding empty cells. May be easier. (also check the result to see if you need to add or subtract one to get the right results)
Aug 2022
12:28pm, 12 Aug 2022
2,842 posts
  • Quote
  • Pin
Fitz
Thanks um, I'll have a play with that and see how it looks.
Aug 2022
1:23pm, 13 Aug 2022
5,140 posts
  • Quote
  • Pin
run free
Suggest using the results of the MATCh function in the ADDRESS function to provide the cell address
Aug 2022
8:44pm, 13 Aug 2022
6,448 posts
  • Quote
  • Pin
Pothunter
World Excel Championships to be broadcast live on ESPN:

ladbible.com
Aug 2022
3:16pm, 15 Aug 2022
2,847 posts
  • Quote
  • Pin
Fitz
Just looping back to um, that formula for counting blanks to the right of the first non-blank worked a treat, in conjunction with your last comment about counting all the blanks and using the difference in my calcs.

Job very much done, thank you.
Sep 2022
3:40pm, 20 Sep 2022
16,878 posts
  • Quote
  • Pin
Garfield
I wonder if you'd be able to help...I've generated 170 single column csvs via Python and wondered if they all could be combined (as separate columns). They don't necessarily have the same number of rows, but just need to be stapled together. Each first item in the file is a country name, and subsequent rows contain the titles of guides for each country.

Any suggestions would be welcome...and many thanks in advance!
Sep 2022
3:41pm, 20 Sep 2022
139,337 posts
  • Quote
  • Pin
GregP
This sounds like a PERL job?
Sep 2022
3:42pm, 20 Sep 2022
139,338 posts
  • Quote
  • Pin
GregP
Does g1ngerrevolution still check in one wonders?
Sep 2022
3:47pm, 20 Sep 2022
16,879 posts
  • Quote
  • Pin
Garfield
Hmmm, I've not done terrible things with Perl recently...(about 10 years ago!)
Sep 2022
3:47pm, 20 Sep 2022
16,880 posts
  • Quote
  • Pin
Garfield
Python dataframes aren't very forgiving for me with this task.

About This Thread

Maintained by John66
This is bugging me, I'm sure it should be much easier

A1 has 25/6/2010
B1 has 24/6/2013

So t...
  • Show full description...

Related Threads

  • excel
  • support
  • tech
  • work

Report This Content

You can report any content you believe to be unsafe. Please let me know why you believe this content is unsafe by choosing a category below.



Thank you for your report. The content will be assessed as soon as possible.










Back To Top

Tag A User

To tag a user, start typing their name here:
X

Free training & racing tools for runners, cyclists, swimmers & walkers.

Fetcheveryone lets you analyse your training, find races, plot routes, chat in our forum, get advice, play games - and more! Nothing is behind a paywall, and it'll stay that way thanks to our awesome community!
Get Started
Click here to join 114,503 Fetchies!
Already a Fetchie? Sign in here