Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-02-2024, 02:00 PM
Mauri Mauri is offline Windows 10 Office 2016
Novice
 
Join Date: May 2023
Posts: 11
Mauri is on a distinguished road
Default Anfänger - Funktion Wenn und Zeilenumbruch

Hello everyone


I am a beginner in Excel, please don't stone me, I would very much like to include this formula for my document.
The task is "simple", but it won't work.

=WENN(H8="99*"&A8&&ZEICHEN(10)&;"Switch "&N8&&ZEICHEN(10)&", Port "&O8&""

My view of the formula:The data is merged from the following fields into one field with a respective line break.
This data is taken from the fields A8 N8 and O8. However, the data is only compiled if there is a number in field
H8 that starts with 99.


When I use this example, the data is compiled, but it is not checked whether this initial 99 number is present.
And everything is written down in one line, but I would like to have a line break.


=WENN(H8="99"&A8&", Switch "&N8&", Port "&O8&""


Wenn ich diese Formel erstelle, kommt "FALSCH"
=WENN(H8="99*"&A8&&ZEICHEN(10)&;"Switch "&N8&&ZEICHEN(10)&", Port "&O8&""

I would be very grateful for your support. Thank you very much!
Reply With Quote
  #2  
Old 02-03-2024, 12:30 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Windows 10 Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Please post a sample sheet ( no pics please). Thx
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #3  
Old 02-03-2024, 12:57 AM
Mauri Mauri is offline Windows 10 Office 2016
Novice
 
Join Date: May 2023
Posts: 11
Mauri is on a distinguished road
Default

please see line Q8

after every ", " i need a new line.

!thank you for watching this
Attached Files
File Type: xlsx Bezeichnungen - Kopie.xlsx (19.2 KB, 3 views)
Reply With Quote
  #4  
Old 02-03-2024, 03:13 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Windows 10 Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Something like
Code:
=IF(LEFT(H8;2)="99";A8&", Switch "&N8&CHAR(10)&", Port "&O8&"";"")
( don't forget to change the formatting of the cells to "wrap text")
Attached Files
File Type: xlsx Bezeichnungen - Kopie.xlsx (19.4 KB, 1 views)
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #5  
Old 02-03-2024, 04:34 AM
Mauri Mauri is offline Windows 10 Office 2016
Novice
 
Join Date: May 2023
Posts: 11
Mauri is on a distinguished road
Default

Thanks meny time, yes that's exactly how I need this.

please you know, any good online course, so that i can learn more about excel.

Thank you where mutch
Reply With Quote
  #6  
Old 02-03-2024, 06:46 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Windows 10 Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Quote:
Originally Posted by Mauri View Post
Thanks meny time, yes that's exactly how I need this.

please you know, any good online course, so that i can learn more about excel.

Thank you where mutch

You're welcome.
I don't know about online courses as users' interests can be very diverse. e.g. I know nothing of VBA or financial functions, but have some experience with other functions and PQ.
I always encourage new learners to participate in XL forums (answering threads and learning from other users); there are very good ones out there where there is lots of activity. The present one has more MsWord activity than XL AFAIK.
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word Funktion in PDF mitnehmen AkrA Word 1 07-28-2022 02:54 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:52 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft