• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Narrtion required

Status
Not open for further replies.

m9vukyem

Member
i downloaded bank statment in excel format in which narrtion contains multiple lines now i want to in single line formula required to upload data into tally software.


please provide me a formula
 

Attachments

  • rrrr.xlsx
    239.7 KB · Views: 6
In haste (could be a lot better), in cell G2 something along the lines of:
=IF(A2="","",CONCAT(OFFSET(C2,,,IFERROR(MATCH(TRUE,LEN(TRIM(A3:A14))>0,0),10))))
copied down.
Asumes no more than 12 rows need concatenating and will look beyond the bottom of the table, so be aware of that.
 
Here is a power query solution. @pecoflyer -- no idea what a narrtion is either

Code:
let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Value Dt.", type date}, {"Details", type text}, {"Chq No.", Int64.Type}, {"Debit", Int64.Type}, {"Credit", Int64.Type}}),
    #"Filled Down" = Table.FillDown(#"Changed Type",{"Value Dt."}),
    #"Grouped Rows" = Table.Group(#"Filled Down", {"Value Dt."}, {{"Data", each Text.Combine([Details], " "), type text}})
in
    #"Grouped Rows"
 
As you did not see fit to at least acknowledge Alan's work, and the way you ask for help ( "Provide me formula"), I am adding you to my " Ignore" list.
Good luck
 
i tried with alan's formula but i cant see values. Am i going wrong somewhere ?
 

Attachments

  • Narration Required (1).xlsx
    19.3 KB · Views: 7
Status
Not open for further replies.
Back
Top