How would i write this

SQUIDD

Well-known Member
Joined
Jan 2, 2009
Messages
2,104
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
Good evening,

How would add to this.
What i want is if y13 equals 6 or 0 it would equal x13 else nothing.

=IF(Y13=6,X13,"")

I know it is probably simple but it has me stumped.

Thanks

Dave
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Thankyou that worked great.

How about this one

if the sum a1:a6 is more than 0 then = a1&a2&a3&a4&a5&a6 else b1

Thanks

Dave
 
Upvote 0
sorry i will try again

if the sum a1:a6 is more than 0 then = display the text in these cells a1&a2&a3&a4&a5&a6 else = cell b1.
something like this

=if(sum(a1:a6)>0,a1&a2&a3&a4&a5&a6,b1)

Dave
 
Upvote 0
i just tried what i wrote and i think it works, dont know why it dident before.

Dave
 
Upvote 0

Forum statistics

Threads
1,214,643
Messages
6,120,707
Members
448,981
Latest member
recon11bucks

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