Convert if formula to array formula

Vishaal

Well-known Member
Joined
Mar 16, 2019
Messages
533
Office Version
  1. 2010
  2. 2007
Platform
  1. Windows
  2. Web
Hi,

We have the following formula

=if(c1,c1,if(b1:b<>"",$A$1,""))

now we want to convert it to an array formula so that it will work on complete c column

Help pls
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Oh sorry, there is one mistake

=if(c3,c3,if(b3:b<>"",$A$1,""))
 
Upvote 0
Yes, but when we want it use as Array formula, i am unable to understand, how to use

=if(c3,c3,if(b3:b<>"",$A$1,""))
=if(c4,c4,if(b4:b<>"",$A$1,""))
=if(c5,c5,if(b5:b<>"",$A$1,""))

I have done it by copy pasting and editing, now want to use as Array so dont need to copy, paste and editing
 
Upvote 0
pls check below details

We have used the formula in column c

ABC
106-09-2020 14:040.362501-08-1900 07:12
2Indent Reference NumberTestTime
3CFD-1Me09-06-2020 13:44
4CFD-2You09-06-2020 13:44
5CFD-3Other09-06-2020 13:44
6CFD-4Me09-06-2020 13:44
7CFD-4You09-06-2020 13:44
 
Upvote 0
Your formula shouldn't be working based on the error that gaz_chops mentioned.
In addition to that - your first argument just says C3 which, for a numeric, will always return TRUE unless the value in column C3 is 0. The first argument in an IF statement should return TRUE or FALSE.
But you say the formula is in column C and it references column C - is this causing a circular reference?
 
Upvote 0
Dear Darren,

I dont know how its working,

But we have got the results from this formula putting manually

Now we want to convert it in array formula
 
Upvote 0
Ok,

Can we do this through array formula

Condition are
If we enter a name or value in B3 then get the timestamp on c3
 
Upvote 0

Forum statistics

Threads
1,214,792
Messages
6,121,612
Members
449,039
Latest member
Mbone Mathonsi

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