vlookup a date from pivot table, can not add days to it and show date

determinedtoexceed

New Member
Joined
Aug 20, 2019
Messages
38
Hey Pros,

I use vlookup on a DATE from array "=VLOOKUP($CB5&COLUMNS($CC$4:CC4),$BY:$BZ,2,0)",

locate in (CC5), and I want another cell (CI5) to be (CC5 10 days later ), but function =CC5+10 will show #value ! error ,

please teach me on how to do this correctly.

Thank you
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
What value is returned by CC5 ?
Is it actually a date, or is it a text string that looks like a date ?
To check this, try
=isnumber(CC5)
If you get TRUE, then the value in CC5 is a number, which can be represented as a date (usually).
If you get FALSE, then CC5 may be a text string, which can possibly be converted to an Excel date, but you'll need to give us more details.
 
Upvote 0
What value is returned by CC5 ?
Is it actually a date, or is it a text string that looks like a date ?
To check this, try
=isnumber(CC5)
If you get TRUE, then the value in CC5 is a number, which can be represented as a date (usually).
If you get FALSE, then CC5 may be a text string, which can possibly be converted to an Excel date, but you'll need to give us more details.
Dear Gerald,

=isnumber(CC5) return false, the lookup for column "$BY(=BS5&COUNTIF($BS$5:BS5,BS5)" is from a pivot table.

Please advice on next step, thank you very much~
 
Upvote 0

Forum statistics

Threads
1,215,219
Messages
6,123,687
Members
449,117
Latest member
Aaagu

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