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

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
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

Service Point No.Source No. (11 Digit Pole No.)Mobile / Landline No.Service Main (UG/OH)Supply (1/3)Phase (R/Y/B)Meter MakeMeter Sl. No.Metre TypeMeter ModelMeter Mfg. YearCurrent Rating ()Amp)
110000160985+919845898986UG1 LT-LTDJQ21518EMEM10119975-20

<tbody>
</tbody><colgroup><col><col><col><col span="5"><col><col span="3"></colgroup>
 
Upvote 0

Forum statistics

Threads
1,216,759
Messages
6,132,548
Members
449,735
Latest member
Gary_M

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