Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-25-2017, 11:31 PM
LyndaH LyndaH is offline IF formula when some values are text & others $ amounts Windows 7 64bit IF formula when some values are text & others $ amounts Office 2016
Novice
IF formula when some values are text & others $ amounts
 
Join Date: Mar 2017
Posts: 2
LyndaH is on a distinguished road
Default IF formula when some values are text & others $ amounts

Hi there, I hope someone can help with a formula for my problem.


a column of Cells has data which is either various $ amounts or the text 'no deposit'. I wish to copy the various $ amounts to new cells, or, if 'no deposit' then enter $0.00 in the new cell.
Any assistance is very much appreciated! Thanks so much.
cheers Lynda
using Office 365
Reply With Quote
  #2  
Old 03-26-2017, 01:21 AM
GIFCoach.com GIFCoach.com is offline IF formula when some values are text & others $ amounts Windows 10 IF formula when some values are text & others $ amounts Office 2016
Novice
 
Join Date: Mar 2017
Posts: 4
GIFCoach.com is on a distinguished road
Default

Hi,

I think an IF Formula should work for this.

For example, if your first cell of deposit data is in cell A2 then in a new column type:

=IF(A2="No Deposit", 0, A2)

This formula checks if A2 is the text "No Deposit". If it is it will return 0. If it is not then it will return the original value from A2.

You can then copy this down the whole column for each of the deposit amounts.

I've added a GIFCoach to this to demonstrate, if this helps:
https://www.gifcoach.com/how-to/clea...crosoft-excel/
Reply With Quote
  #3  
Old 03-26-2017, 01:58 AM
xor xor is offline IF formula when some values are text & others $ amounts Windows 10 IF formula when some values are text & others $ amounts 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

With your data in A2 and downwards put this formula in B2:

=IF(A2="no deposit",0,A2)

Copy down.


Edit
My apologies - I didn't see #2 when I posted.

Last edited by xor; 03-26-2017 at 04:59 AM.
Reply With Quote
  #4  
Old 03-26-2017, 01:03 PM
LyndaH LyndaH is offline IF formula when some values are text & others $ amounts Windows 7 64bit IF formula when some values are text & others $ amounts Office 2016
Novice
IF formula when some values are text & others $ amounts
 
Join Date: Mar 2017
Posts: 2
LyndaH is on a distinguished road
Default

Xor, Thank you so much for this!!! I spent hours trying various things and now realise I was over-thinking it. It works perfectly. Thank you again for replying and for making the great coaching video. You've made my day. :-)
cheers
Lynda
Reply With Quote
  #5  
Old 03-26-2017, 08:31 PM
xor xor is offline IF formula when some values are text & others $ amounts Windows 10 IF formula when some values are text & others $ amounts 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

@LyndaH

I think your thanks rightfully belong to GIFCoach.com
Reply With Quote
Reply

Tags
and if formula, if formula



Similar Threads
Thread Thread Starter Forum Replies Last Post
Overwriting values in formula controlled column Guloluseus Project 3 01-09-2017 05:58 PM
Find and replace multiple values, according to table value - excel formula EtanM Excel Programming 3 04-11-2016 01:43 AM
Formula/function to return column names for matching values GiJoe81 Excel 1 06-27-2015 12:13 AM
IF formula when some values are text & others $ amounts IF Formula - multiple values Jac_Fcb Excel 1 03-17-2015 12:41 AM
Breaking Links In A Formula And Making Them Values, Office 2003 tcohen Excel 1 03-18-2013 07:05 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:29 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