Mod function is not working properly in excel

prince
2StarLounger
Posts: 171
Joined: 02 Mar 2015, 17:00

Mod function is not working properly in excel

Post by prince »

Hello sir, I want help to solve the problem of mod function in excel sheet.
I have stored the data in first sheet. But on second sheet Red columns are not showing the accurate result.
kindly find the attached file and suggest me the best way .
Regards,
Prince
You do not have the required permissions to view the files attached to this post.
Last edited by prince on 12 Jun 2016, 06:47, edited 2 times in total.

User avatar
Rudi
gamma jay
Posts: 25455
Joined: 17 Mar 2010, 17:33
Location: Cape Town

Re: Mod function is not working properly in excel

Post by Rudi »

If the formula in the F column (for Sr. No.) is working correctly, why not just use that formula for the Participant Name column too. Just point it to the source sheets's J column instead of the I column?

In G15 use:
=IF(OFFSET(Sheet1!$J$3,INT((ROW()-15)/30)*6+MOD(ROW()-15,30),0)="","",OFFSET(Sheet1!$J$3,INT((ROW()-15)/30)*6+MOD(ROW()-15,30),0))

I have not studied the sheet or tried to evaluate the formula as I don't understand the basis of your form?
Regards,
Rudi

If your absence does not affect them, your presence didn't matter.

User avatar
HansV
Administrator
Posts: 78790
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Mod function is not working properly in excel

Post by HansV »

Please do not remove an attachment after you have received a reply. That makes the thread incomprehensible to others. If the file contained sensitive information, you should have removed it before posting it.

Apart from that, it would be polite if you let us know whether Rudi's reply was helpful.
Best wishes,
Hans

prince
2StarLounger
Posts: 171
Joined: 02 Mar 2015, 17:00

Re: Mod function is not working properly in excel

Post by prince »

Mr. HnasV,I have uploaded the file again and thanks to mr. Rudi to suggest me the best way to solve the problem with previous applied method on column.
Regards,
Prince

User avatar
HansV
Administrator
Posts: 78790
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Mod function is not working properly in excel

Post by HansV »

Thanks, Prince!
Best wishes,
Hans