Formula to bring in first two values

Dastnai

New Member
Joined
Oct 26, 2018
Messages
45
Hi Everyone,

I am looking for a formula to bring in the first two values in a row.

Here is my data set:

My desired outcome is the inventory during request 1 and 2

Inventory during request 1Inventory during request 212/8/201812/9/201812/10/201812/11/201812/12/201812/13/201812/14/201812/15/201812/16/201812/17/201812/18/201812/19/2018
-56248.73725-56248.7373
4410.24653790.24654410.24653790.24652940.24652090.24651240.2465390.2465-459.7535-1309.7535-2159.7535-3009.7535
-5311.638-5991.638-5311.638-5991.638-6671.638-7224.138

<tbody>
</tbody>


Thanks,

Dastnai
 
Last edited:

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Hi Dastnai,

Assuming that your sample data is in cells A1:N4, "Inventory during request 1" is in column A and "Inventory during request 2" is in column B, you can try using the following Array formulas (enter with Ctrl+Shift+Enter):

Cell A2 & below -> =IFERROR(INDEX(C2:N2,1,MATCH(TRUE,ISNUMBER(C2:N2),0)),"")
Cell B2 & below -> =IFERROR(INDEX(C2:N2,1,MATCH(TRUE,ISNUMBER(C2:N2),0)+1),"")

Hope it helps.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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