Formula - Finding data in multiple columns and combine in 1

JDJong

New Member
Joined
May 2, 2018
Messages
39
Hello everyone,

I am coming across with coming up a formula to summarize the description.

basically I would like to find the Serial number in column A. If it is other or reserve, then no further steps to be taken, other than that, I would like to find the respective payment type, period start, period and in column K,L,M and retrieve the value in column F.

the lines marked in red are the expect results.

Thank you very much in advance for your help!

Let me know if you Need further clarification.

Best regards


Serial No.MonthInvoice TypeInvoice No.SupplierDescriptionAmount
gross
Tax Tax amount
amount
Net AmountPayment typePeriod StartPeriod End
7522jun-18Payment84445GEAssessment_fee_01.04-30.04.2018_SN_7522 $ 71.000,00 0$ - $ 71.000,00 Assessment_fee01.0430.04.2018
7523jun-18Payment84446GEEvaluation_fee_01.05-31.05.2018_SN_7523 $ 45.226,83 0$ - $ 45.226,83 Evaluation_fee01.0531.05.2018
7524jun-18Payment84447GE $ 174.966,00 0$ - $ 174.966,00
7525jun-18Payment84448GE $ 45.000,00 0$ - $ 45.000,00
8522jun-18Payment89542GE $ 35.818,00 0$ - $ 35.818,00
65442jun-18Payment89549GE $ 795.153,00 0$ - $ 795.153,00
6542jun-18Payment89588GE $ 66.500,00 0$ - $ 66.500,00
otherjun-18Payment89842GE $ 2.000.000,00 0$ - $ 2.000.000,00
otherjun-18Payment88542GE $ 100.850,99 0$ - $ 100.850,99
Reservejun-18Payment13050GE $ 54.000,00 0$ - $ 54.000,00
Reservejun-18Payment13049GE $ 52.500,00 0$ - $ 52.500,00
85236jun-18PaymentSR959-05-18-IGE $ 24.800,00 0$ - $ 24.800,00
V78852jun-18Payment852GE $ 67.095,00 0$ - $ 67.095,00
895532jun-18Payment853GE $ 47.310,00 0$ - $ 47.310,00
8889jun-18Payment5551GE $ 1.000,00 0$ - $ 1.000,00
Reservejun-18Payment88820GE $ 599,97 0$ - $ 599,97

<tbody>
</tbody><colgroup><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup>
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Hi, I hope this helps:
First, use an if statement combined with an or-gate to filter out everything that has either "other" or "reserve" in it, then for all other cases combine the string to one string: "=IF(OR(A2="other",A2="Reserve"),"",CONCAT(K2,"_",L2,"-",M2,"_SN_",A2))
 
Upvote 0
Thank you Ryeera for your Response.

I have implemented this to make it work;
IF(OR(A2={"Other","Reserve"}),"",K2&"_"&L2&"-"&M2&"_SN_"&A2)

perhaps the concat function doesn't work here.
 
Upvote 0

Forum statistics

Threads
1,215,359
Messages
6,124,488
Members
449,166
Latest member
hokjock

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