IF statment

JD_Excels

Banned user
Joined
Jul 29, 2022
Messages
13
Office Version
  1. 2021
Platform
  1. Windows
So i have 3 sets of columns with data. How can i write on the right side of excel a formula that would do this


IF there is data on Column T, then select that data, if the data is 0 or blank then use column AD, if that column is 0 or blank , then use column AG, if that is 0 or blank just have N/A

1659103348715.png

1659103379519.png
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Try:
Excel Formula:
=IF(T5<>0,T5,IF(AD5<>0,AD5,IF(AG5<>0,AG5,"N/A")))
 
Upvote 0
Solution
Cross posted at: Choosing Data from Column Depending on Column Contents

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.
Be sure to follow & read the link at the end of the rule too!

If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
You are welcome.

And please be sure to follow the rules regarding Cross-Posting on both sides.
It is usually not necessary to post the same question across multiple boards simultaneously. I would advise to pick one forum and post there, and then wait a while.
If you do not get a response after a while, then you can try posting to another board, but if you do, please be sure to mention that you have cross-posted the question and provide links to the other questions in BOTH forums.
 
Upvote 0
1659109806292.png
This is the formula i am using, i dont understand why the column AD is not returning back?

1659109840133.png

1659109870882.png
 
Upvote 0
Since this is really a direct continuation/follow-up question about your original question, I have merged this back in to your original thread.
Any directly related follow-up questions about someone's solution should be posted back to the original thread.
Only start a new thread with a new question.

In order for us to help you, we need to be able to see what is in cells: AG142, T142, and AD142
We cannot tell that from your screen prints (I cannot even make out the row numbers, as you cut those off in your images).
 
Upvote 0

Forum statistics

Threads
1,224,817
Messages
6,181,149
Members
453,021
Latest member
Justyna P

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