Forum Discussion

surajde's avatar
surajde
Helper I
3 years ago

Repeating last calculated value

Hi All, 

 

Need help with formula for calculating below Companylist Column which is nothing but repeating Company Name and if field is blank then says "No Company". 

 

IDCompanyCompanylist
309703748 No Company
309703748 No Company
309703748 No Company
309703748 No Company
309703748 No Company
309703748 No Company
309703748 No Company
309703748Finserve LtdFinserve Ltd
309703748 Finserve Ltd
309703748 Finserve Ltd
309703748Enable India corpEnable India corp
309703748 Enable India corp
309703748 Enable India corp
309703748 Enable India corp
309703748LTILTI
309703748 LTI
309703748 LTI
309703748 LTI
309703748 LTI
309703748 LTI
309703748 LTI
309703748 LTI
309703748 LTI
309703748 LTI
309703748 LTI

 

Excel formula is :

=IF(A2<>A1,IF(B2="","No Company",B2),IF(B2<>"",B2, C1 ))

 

 

3 Replies

    • surajde's avatar
      surajde
      Helper I

      Hi Anonymous, thanks for the alternate work around but the method you mentioned is for existing raw data and not for calculated column. I want to write a formula that will do this

    • surajde's avatar
      surajde
      Helper I

      Anonymous , 

       

      This one is not working. Can you please check? 

      Important: When ID changes then it should again start with "No Company" if Company name is blank again that record