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
 
If you're using Excel 365 you can just enter =IF(C3:C7<>"",D3:D7,"") and the formula will spill down. If not in 365 highlight the cells you want to put it in and enter it using Ctrl+Shift+Enter, but you might as well just put =IF(C3<>"",D3,"") in the first cell and drag the formula down.

That is what you want isn't it? Or are you expecting a single value returned based on the data in the whole column?
 
Upvote 0

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
I dont want to drag formula because we are getting all other details through "Array Formula" so if we will add here new row

We need to copy formula again here but if we do this through array it will auto add formula
 
Upvote 0
sorry,

i am explaining here all the details again,

we want only array formula because if we add any new row, then we need to copy the formula again every time and its a large data so we do not want to check and copy the code again and again.

question sheet here
query is if we select or change any name on column B, it will add the timestamp in column C, from A1 or add the current timestamp,
06-09-2020 14:040.362501-08-1900 07:12
Indent Reference NumberTestTime
CFD-1Me
CFD-2You
CFD-3Other
CFD-4Me
CFD-4You


Answer sheet here
06-09-2020 14:040.362501-08-1900 07:12
Indent Reference NumberTestTime
CFD-1Me09-06-2020 13:44
CFD-2You09-06-2020 14:44
CFD-3Other09-06-2020 15:10
CFD-4Me09-06-2020 16:15
CFD-4You09-06-2020 17:30
 
Upvote 0
i have just posted this for clarification only, no intention to bump the post

take your time.
thanks for creating such a great form.:)
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,812
Members
449,048
Latest member
greyangel23

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