Formula error

pmteraiya

New Member
Joined
Dec 1, 2010
Messages
2
I have bring value in two adjoining column

" Date " in column B by using

=VLOOKUP($C$2,'Work Completion Date'!$B$3:$L$354,2,0)

" Amount " in Column "C" by using

=IF(E28>0,IF(G12=1,Value!$C$57,IF(G12=2,Value!$C$76,IF(G12=3,Value!$C$81))))


and then I try use this results in other formula like
=IF(COUNTIF($L$28:$M$44,A99),VLOOKUP(A99,$L$28:$M$44,2,FALSE),0)

or

=IF(A101=VLOOKUP(A101,$J$28:$J$44,1),VLOOKUP(A101,$J$28:$K$44,2),0)

i get "#N/A" instead of result or sometime i get result for only first cell in column range

I have date form dd-mmm-yy. I tried by formatting cell to same date format but not solved

please reply
 

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
Hi pmteraiya
Welcome to the forum,
Would you care to post some data?

In this formula:
=IF(A101=VLOOKUP(A101,$J$28:$J$44,1),VLOOKUP(A101,$J$28:$K$44,2),0)
you are missing the 4th parameter "Range parameter" unless you want to get the closest match not the exact
 
Upvote 0
Hi Robert,

Thanks lot for care to solve.

I have found mistake that date value was with time so the function result show error.

Once again Thank You,
 
Upvote 0

Forum statistics

Threads
1,223,099
Messages
6,170,109
Members
452,302
Latest member
TaMere

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