Excel Find

kmi

New Member
Joined
Jul 11, 2024
Messages
3
Office Version
  1. 365
1.Here in "Table-1" the invoice number of 5 branches is given from which only branch name should be filtered through excel formula.
2.As shown in Table-3, the answer should come through Excel formula in Table-2.
3.If Subtotal appears in Table-1, then the branch name should appear in the line above which the invoice number of the branch. is as shown in Table-3.

Sample Answer Given In Table-3 typed manually .Same Answer Should Came In Table-2 through Excel Formula
 

Attachments

  • formula-11.PNG
    formula-11.PNG
    36.7 KB · Views: 8

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Cannot manipulate data in a picture. Please reload to this forum using XL2BB so that we don't have to reconstruct your data. See the download at the top of your reply.
 
Upvote 0
Could you please test this:

Excel Formula:
=SCAN("",IF(ISNUMBER(FIND("CUSTOMER",A7:A41)),"",RIGHT(TEXTBEFORE(A7:A41,"-"),3)),LAMBDA(a,b,IF(ISNA(b),a,b)))
 
Upvote 0
Smaller version of your sample, but perhaps:

Book2
AB
6INVOICE NUMBERVoucher
7CUSTOMER-1 
8SrVe:2024RWA1-1827RWA
9SiVe:2024BRBA1-2417BRB
10Sub TotalBRB
Sheet1
Cell Formulas
RangeFormula
B7:B10B7=IF(LEFT(A7,8)="CUSTOMER","",IF(A7="Sub Total",B6,MID(A7,10,3)))
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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