What does this formula means =B$6<>""

mdfahiem

New Member
Joined
Oct 10, 2017
Messages
6
Hi Gurus,


What does the below formula does or means?


=B$6<>""


Thanks in advance.


Regards,
Fahim
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
It is testing to see if B6 is (not) empty or contains "nothing"

Hi Ford,

Thanks a lot for your quick reply.


I have a series of cells for which this formula is applied. Along with this formula, I also want to apply the data validation (list) to this series. If anything else is entered apart from the list, it should throw a message "Please enter valid code".

How can I have these 2 validation for same cell (or series of cells)?

Thanks in advance.

Regards,
Fahim
 
Upvote 0
Data Validation (List) will already give the user an error if they attempt to enter a value that is not on the designated list.

How are you trying to use the =B$6<>"" formula? You could set up a If X="TRUE" then Y sort of check for the result of the initial formula.

EDIT: If that were to be how you would use the initial check, you would need to change the formula to =IF(B$6<>"", "TRUE", "FALSE") or whatever other true/false responses you want to work with.
 
Last edited:
Upvote 0
Data Validation (List) will already give the user an error if they attempt to enter a value that is not on the designated list.

How are you trying to use the =B$6<>"" formula? You could set up a If X="TRUE" then Y sort of check for the result of the initial formula.

EDIT: If that were to be how you would use the initial check, you would need to change the formula to =IF(B$6<>"", "TRUE", "FALSE") or whatever other true/false responses you want to work with.

For my requirement to be fulfilled, I simply replaced the formula (=B$6<>"") with the list (for selection), and it is working very well.

Initially I was planning to use 2 data validations, but it is working well with 1 data validation.

Thanks for your kind suggestions and guidance.

Regards,
Fahim
 
Upvote 0

Forum statistics

Threads
1,223,986
Messages
6,175,789
Members
452,670
Latest member
nogarth

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