Replicate publisher in column C for Google Sheets

parvares

New Member
Joined
Jul 17, 2022
Messages
22
Office Version
  1. 365
Platform
  1. Windows
Hello, starting from this sheet with column A (title, responsibility, publisher) I would need a formula that extracts only the publisher in column C. I used this formula:

Rich (BB code):
= LEFT (MID (A2, FIND ("-", A2) +1, LEN (A2)), FIND (",", MID (A2, FIND ("-", A2) +1, LEN (A2))) ) -1)

but column C gives me the place of publication and the publisher. I would like instead only the publisher.

Many thanks!!
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
How about
Excel Formula:
=LET(a,REPLACE(A2,1,FIND("- ",A2)+1,""),LEFT(a,FIND(" ",a)-1))
 
Upvote 0
How about
Excel Formula:
=LET(a,REPLACE(A2,1,FIND("- ",A2)+1,""),LEFT(a,FIND(" ",a)-1))
Sorry, I haven't got Excel, is there a similar formula working on Google Sheets?
Thanks very much!
 
Upvote 0
When asking questions for any spreadsheet other than Excel you need to make that clear. Also such questions should be posted in the General Discussion & Other Applications section of the board.

I have done that for you this time.
 
Upvote 0
How about
Excel Formula:
=LEFT(REPLACE(A2,1,FIND("- ",A2)+1,""),FIND(" ",REPLACE(A2,1,FIND("- ",A2)+1,""))-1)
 
Upvote 0
How about
Excel Formula:
=LEFT(REPLACE(A2,1,FIND("- ",A2)+1,""),FIND(" ",REPLACE(A2,1,FIND("- ",A2)+1,""))-1)
I apologize for not having pointed out. I tried your formula:

=SINISTRA(RIMPIAZZA(A2;1;TROVA("- ";A2)+1;"");TROVA(" ";RIMPIAZZA(A2;1;TROVA("- ";A2)+1;""))-1)

but it gives me the place of publication, not the publisher.
 
Upvote 0
In that case what should be returned (and please don't say the publisher)?
 
Upvote 0
In that case what should be returned (and please don't say the publisher)?
In C2 should not return Bari (place of piublishing) but Laterza (publisher); in C3 should not return Roma but Cooper...
 
Upvote 0
Ok, how about
Excel Formula:
=MID(REPLACE(A2,FIND(",",A2),LEN(A2),""),FIND(":",REPLACE(A2,FIND(",",A2),LEN(A2),""),FIND("-",REPLACE(A2,FIND(",",A2),LEN(A2),"")))+2,LEN(A2))
 
Upvote 0
Solution
Ok, how about
Excel Formula:
=MID(REPLACE(A2,FIND(",",A2),LEN(A2),""),FIND(":",REPLACE(A2,FIND(",",A2),LEN(A2),""),FIND("-",REPLACE(A2,FIND(",",A2),LEN(A2),"")))+2,LEN(A2))
Wao, great! Is this formula working on MS Excel too (I want to try it at work)?
Thanks again!!!
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

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