Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-31-2017, 07:19 PM
Cyberseeker Cyberseeker is offline IF Formula Question Windows 10 IF Formula Question Office 2010 32bit
Advanced Beginner
IF Formula Question
 
Join Date: Jun 2016
Posts: 44
Cyberseeker is on a distinguished road
Default IF Formula Question


Some help needed please. I have a cell that is usually left empty, and as such a different cell returns the result (lets say) "default wording" However, on occasions I type something different in the first cell, (lets say) "anything". In that case I want I want the second cell to produce the same word as typed in the first cell.

Here is my code in the second cell. Unfortunately it doesnt work. Can you tell me how to improve it?

Code:
=IF(cellwhatever="",default wording,IF(cellwhatever="anything",anything,))
Reply With Quote
  #2  
Old 07-31-2017, 10:21 PM
xor xor is offline IF Formula Question Windows 10 IF Formula Question Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,100
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

You are almost there

=IF(A1="","default wording",IF(A1="anything","anything",""))
Reply With Quote
  #3  
Old 08-01-2017, 12:34 AM
Cyberseeker Cyberseeker is offline IF Formula Question Windows 10 IF Formula Question Office 2010 32bit
Advanced Beginner
IF Formula Question
 
Join Date: Jun 2016
Posts: 44
Cyberseeker is on a distinguished road
Default

I should have mentioned that the 2 cells in question are on different sheets. Can you suggest the formula in that case?
Reply With Quote
  #4  
Old 08-01-2017, 04:18 AM
xor xor is offline IF Formula Question Windows 10 IF Formula Question Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,100
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

If you have Sheet1 and Sheet2 insert this formula somewhere in Sheet2

=IF(Sheet1!A1="","default wording",IF(Sheet1!A1="anything","anything",""))
Reply With Quote
  #5  
Old 08-01-2017, 05:07 PM
Cyberseeker Cyberseeker is offline IF Formula Question Windows 10 IF Formula Question Office 2010 32bit
Advanced Beginner
IF Formula Question
 
Join Date: Jun 2016
Posts: 44
Cyberseeker is on a distinguished road
Default

Thanks xor. However, I dont want the literal word, "anything". Im actually working with addresses, and the default wording is "New Zealand". However, in some cases I want to send to a country overseas. So, I may type the word, "Australia" or "United Kingdom" or "Germany". In those cases I want the cell in sheet2 to return the same word that I typed in sheet1.

Sorry that my O.P. wasnt clearer. Can you suggest again?
Reply With Quote
  #6  
Old 08-01-2017, 09:57 PM
xor xor is offline IF Formula Question Windows 10 IF Formula Question Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,100
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

What about

=Sheet1!A1
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
nested IF formula question H28Sailor Excel 5 05-12-2017 11:01 PM
IF Formula Question Formula Question glhatch Excel 1 01-23-2015 04:13 PM
IF Formula Question Complex formula question diverdown87 Excel 7 10-21-2014 07:44 AM
Formula question H28Sailor Excel 4 08-20-2013 09:57 AM
IF Formula Question SUMIF Formula question jcaswell Excel 3 05-22-2011 02:52 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:58 PM.


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