Hiiiiii Experts
I am back againwith the problme
Capture.JPG
see the above image
i want a formula in F1
Which take 1A full then last five digit of B1,C1 and D1
and if D1 has error should be ignore
Hiiiiii Experts
I am back againwith the problme
Capture.JPG
see the above image
i want a formula in F1
Which take 1A full then last five digit of B1,C1 and D1
and if D1 has error should be ignore
seems to me the easiest way is to add this to your formula in column D to get rid of the #NUM! =iferror(your formula,"") Then something like this for the remainder... =A1&"/"&RIGHT(B1,5)&"/"&RIGHT(C1,5)&"/"&RIGHT(D1,5)
Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
Sam Capricci
thanks
it works but,
I have no idea how to add iferror in formula
below is my formula
=INDEX('[CHEQUE REGISTER - SHARAD.xlsm]CHQ REG-SHARAD'!$F$2:$F$2725, SMALL(IF($C780='[CHEQUE REGISTER - SHARAD.xlsm]CHQ REG-SHARAD'!$N$2:$N$2725, ROW('[CHEQUE REGISTER - SHARAD.xlsm]CHQ REG-SHARAD'!$N$2:$N$2725)-ROW('[CHEQUE REGISTER - SHARAD.xlsm]CHQ REG-SHARAD'!$N$2)+1), COLUMN('[CHEQUE REGISTER - SHARAD.xlsm]CHQ REG-SHARAD'!B$1)))
please add ifferror and reply me
HII Sambo kid
AS PER YOUR FORMULA i.e
=A1&"/"&RIGHT(B1,5)&"/"&RIGHT(C1,5)&"/"&RIGHT(D1,5)
IF C1 AND D1 IS BLANK
"/" WILL SHOWN IN ANSWER
i DONT WANT "/" IF C1 OR D1 ARE BLANK
Last edited by sharadmaxwell; 06-28-2016 at 06:08 AM.
I might try adding the iferror here... =IFERROR(INDEX('[CHEQUE REGISTER - SHARAD.xlsm]CHQ REG-SHARAD'!$F$2:$F$2725, SMALL(IF($C780='[CHEQUE REGISTER - SHARAD.xlsm]CHQ REG-SHARAD'!$N$2:$N$2725, ROW('[CHEQUE REGISTER - SHARAD.xlsm]CHQ REG-SHARAD'!$N$2:$N$2725)-ROW('[CHEQUE REGISTER - SHARAD.xlsm]CHQ REG-SHARAD'!$N$2)+1), COLUMN('[CHEQUE REGISTER - SHARAD.xlsm]CHQ REG-SHARAD'!B$1))),"") but this is an untested guess.
Next, you hadn't mentioned that C1 could be blank too. Can you give all the details so a formula could be worked out.
Better yet, can you upload a small sample with no confidential data so we have actual examples to work with?
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks