if find blank cell in coloum need to take the header name in remarks

shrinivasmj

Board Regular
Joined
Aug 29, 2012
Messages
140
this is formula need to modify

=TRIM(IF(LEN(M311),"",M$1&", ")&(IF(LEN(N311),"",N$1&", "))

I need to remove last comma and add last sentence, if only one blanks cell is there add- ( is not available )

if more than 2 blanks cell need to add at last ( are not available )
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Try something like this...

=IF(COUNTBLANK(M311:N311),
CHOOSE(COUNTBLANK(M311:N311),IF(LEN(M311),N1,M1)&" is",M1&" and "&N1&" are")&
" not available","")​
 
Upvote 0
HI ITS WORKING BUT NEED FOR all the other fields in between like a2 to l2 and not take d and e row with same above formula i need

[TABLE="width: 985"]
<tbody>[TR]
[TD]Service Point No.[/TD]
[TD]Source No. (11 Digit Pole No.)[/TD]
[TD]Mobile / Landline No.[/TD]
[TD]Service Main (UG/OH)[/TD]
[TD]Supply (1/3)[/TD]
[TD]Phase (R/Y/B)[/TD]
[TD]Meter Make[/TD]
[TD]Meter Sl. No.[/TD]
[TD]Metre Type[/TD]
[TD]Meter Model[/TD]
[TD]Meter Mfg. Year[/TD]
[TD]Current Rating ()Amp)[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]10000160985[/TD]
[TD]+919845898986[/TD]
[TD]UG[/TD]
[TD]1[/TD]
[TD] [/TD]
[TD]LT-LTD[/TD]
[TD]JQ21518[/TD]
[TD]EM[/TD]
[TD]EM101[/TD]
[TD]1997[/TD]
[TD]5-20[/TD]
[/TR]
</tbody><colgroup><col><col><col><col span="5"><col><col span="3"></colgroup>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,223,234
Messages
6,170,891
Members
452,366
Latest member
TePunaBloke

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