vergelijken tabblad naam met waarde uit cel

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Ik heb een rij (bijv A1:A10) met namen. Nu wil ik in B1 ( t/m B10) een
formule hebben die controleert of er een tabblad is met de naam uit A1.
Kan dit met een formule of moet dit VB ?
Thnx!
 
Hoi Arjan

volgende keer in de Nederlandse nieuwsgroep posten graag.

You can try this with the sheet name in A1

=IF(ISERR(INDIRECT($A1&"!A1")),"Not exist","exist")
 
In Dutch it is

=ALS(ISFOUT2(INDIRECT($A1&"!A1"));"Not exist";"exist")
 
I'm sorry, a previous search was open, so I thought I was in the dutch group.

Ron, thanks for your help, it works great!

Arjan

"Ron de Bruin" schreef:
 
Ik kan niet "tabblad" verstanden - is het English "table" or bedoel je
het algemeen formula?
Tomek Polak
 
Hi Topola

tabblad = sheet

Arjan have sheet names in col A and want a formula in col B to check if that sheet exist.

My answer do that
=IF(ISERR(INDIRECT($A1&"!A1")),"Not exist","exist")

Or in Dutch
=ALS(ISFOUT2(INDIRECT($A1&"!A1"));"Not exist";"exist")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top