Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-03-2020, 03:11 PM
hunterisagrump hunterisagrump is offline IF statement in a CONCANTENATE function Windows 10 IF statement in a CONCANTENATE function Office 2013
Novice
IF statement in a CONCANTENATE function
 
Join Date: Mar 2020
Posts: 2
hunterisagrump is on a distinguished road
Default IF statement in a CONCANTENATE function

hello all, I sure hope someone has a bigger brain than I do, because I've been slamming my head against my desk all day with this.



in A1, I have a drop down with "2,3" in it. the cell is named DROPDOWN
in A2, I have a drop down with "pizza,sushi" in it. this cell is named FOOD1
in A3, I have a drop down with "pizza,sushi" in it. this cell is named FOOD3

I think have a CONCANTENATE function in B5 that starts "My favorite foods include tacos"

then, i'm trying to include 2 IF statements.
IF(DROPDOWN>=2, "and ",FOOD1," ","")
IF(DROPDOWN>=3, "and ",FOOD2," ","")

the ideas is that if the number 2 is selected in DROPDOWN, it reads "My favorite foods include tacos and FOOD1", and if the number 3 is selected in DROPDOWN, the output of B5 reads "My favorite foods include tacos and FOOD1 and FOOD2"


this is what is in B5, and what is not working

=CONCATENATE("My favorite foods include tacos",=IF(DROPDOWN>=2, "and ",FOOD1," ","") ",=IF(DROPDOWN>=3, "and ",FOOD2," ","")")

this is a silly example of something I'm trying to do for a work document, where macros are not allowed. Any help would be greatly appreciated!
Attached Files
File Type: xlsx dropdownexample.xlsx (8.5 KB, 9 views)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting a Select statement in Excel to an update statement shabbaranks Excel Programming 5 10-31-2018 11:47 PM
IF statement in a CONCANTENATE function WEEKNUM function not adhering to the IF statement darkoman Excel 1 06-09-2016 06:28 AM
IF statement in a CONCANTENATE function Restrict Editing function disable insert textbox function IanM_01 Word 5 11-21-2015 02:29 AM
IF statement in a CONCANTENATE function concantenate cells in multiple row shilabrow Excel 7 03-26-2015 06:42 PM
IF statement in a CONCANTENATE function Mail Merge Function not Noticing 'True' vs. 'False' Statement danellekent Mail Merge 1 04-27-2012 02:19 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:39 AM.


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