Recognising Number or Letters

Steve 1962

Active Member
Joined
Jan 3, 2006
Messages
351
Office Version
  1. 365
Platform
  1. Windows
Hi

How do I get an IF statement to handle numbers differently to letters.

EG:

IF(A1=a number, then it does this......
IF(A1=a letter, then it does this.......

Thanks
 
If I understand the request correctly, I think this normally-entered formula placed in cell K2 and copied down should also work...

=IF(ISTEXT(L2),MAX(K$1:K1)+1,"")
 
Upvote 0

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
If I understand the request correctly, I think this normally-entered formula placed in cell K2 and copied down should also work...

=IF(ISTEXT(L2),MAX(K$1:K1)+1,"")
I think you may have missed ..
values in column L are generated by a formula
.. I'm presuming that means all those 'blank' cells in column L are "", which would return True for ISTEXT() & produce a very different result to that shown in the post 4 image.
 
Upvote 0

Forum statistics

Threads
1,215,563
Messages
6,125,565
Members
449,237
Latest member
Chase S

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